Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Swagger.json (13578037020) #324

Merged
merged 2 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
version = "5.0.0.dev439"
version = "5.0.0.dev441"
license = "MIT"
authors = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@
from .models.gsa_record_history import GsaRecordHistory
from .models.gsa_record_history_copy_exception import GsaRecordHistoryCopyException
from .models.gsa_record_history_guid_property import GsaRecordHistoryGuidProperty
from .models.gsa_record_history_identity_property import GsaRecordHistoryIdentityProperty
from .models.gsa_record_history_move_exception import GsaRecordHistoryMoveException
from .models.gsa_record_history_reference import GsaRecordHistoryReference
from .models.gsa_record_link_group import GsaRecordLinkGroup
Expand Down Expand Up @@ -1696,7 +1695,6 @@
"GsaRecordHistory",
"GsaRecordHistoryCopyException",
"GsaRecordHistoryGuidProperty",
"GsaRecordHistoryIdentityProperty",
"GsaRecordHistoryMoveException",
"GsaRecordHistoryReference",
"GsaRecordLinkGroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,6 @@
from .gsa_record_history import GsaRecordHistory
from .gsa_record_history_copy_exception import GsaRecordHistoryCopyException
from .gsa_record_history_guid_property import GsaRecordHistoryGuidProperty
from .gsa_record_history_identity_property import GsaRecordHistoryIdentityProperty
from .gsa_record_history_move_exception import GsaRecordHistoryMoveException
from .gsa_record_history_reference import GsaRecordHistoryReference
from .gsa_record_link_group import GsaRecordLinkGroup
Expand Down Expand Up @@ -1567,7 +1566,6 @@
"GsaRecordHistory",
"GsaRecordHistoryCopyException",
"GsaRecordHistoryGuidProperty",
"GsaRecordHistoryIdentityProperty",
"GsaRecordHistoryMoveException",
"GsaRecordHistoryReference",
"GsaRecordLinkGroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,13 @@ class GsaDataExportRequest(ModelBase):
"attributes": "list[GsaAttributeToExport]",
"record_properties": "list[GsaRecordProperty]",
"record_history_guids": "list[str]",
"record_history_identities": "list[int]",
"record_version_guids": "list[str]",
}

attribute_map: dict[str, str] = {
"attributes": "attributes",
"record_properties": "recordProperties",
"record_history_guids": "recordHistoryGuids",
"record_history_identities": "recordHistoryIdentities",
"record_version_guids": "recordVersionGuids",
}

Expand All @@ -89,7 +87,6 @@ def __init__(
attributes: "list[GsaAttributeToExport]",
record_properties: "list[GsaRecordProperty]",
record_history_guids: "Union[list[str], None, Unset_Type]" = Unset,
record_history_identities: "Union[list[int], None, Unset_Type]" = Unset,
record_version_guids: "Union[list[str], None, Unset_Type]" = Unset,
) -> None:
"""GsaDataExportRequest - a model defined in Swagger
Expand All @@ -99,19 +96,15 @@ def __init__(
attributes: list[GsaAttributeToExport]
record_properties: list[GsaRecordProperty]
record_history_guids: list[str], optional
record_history_identities: list[int], optional
record_version_guids: list[str], optional
"""
self._attributes: list[GsaAttributeToExport]
self._record_properties: list[GsaRecordProperty]
self._record_history_identities: Union[list[int], None, Unset_Type] = Unset
self._record_history_guids: Union[list[str], None, Unset_Type] = Unset
self._record_version_guids: Union[list[str], None, Unset_Type] = Unset

self.attributes = attributes
self.record_properties = record_properties
if record_history_identities is not Unset:
self.record_history_identities = record_history_identities
if record_history_guids is not Unset:
self.record_history_guids = record_history_guids
if record_version_guids is not Unset:
Expand Down Expand Up @@ -173,30 +166,6 @@ def record_properties(self, record_properties: "list[GsaRecordProperty]") -> Non
raise ValueError("Invalid value for 'record_properties', must not be 'Unset'")
self._record_properties = record_properties

@property
def record_history_identities(self) -> "Union[list[int], None, Unset_Type]":
"""Gets the record_history_identities of this GsaDataExportRequest.

Returns
-------
Union[list[int], None, Unset_Type]
The record_history_identities of this GsaDataExportRequest.
"""
return self._record_history_identities

@record_history_identities.setter
def record_history_identities(
self, record_history_identities: "Union[list[int], None, Unset_Type]"
) -> None:
"""Sets the record_history_identities of this GsaDataExportRequest.

Parameters
----------
record_history_identities: Union[list[int], None, Unset_Type]
The record_history_identities of this GsaDataExportRequest.
"""
self._record_history_identities = record_history_identities

@property
def record_history_guids(self) -> "Union[list[str], None, Unset_Type]":
"""Gets the record_history_guids of this GsaDataExportRequest.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,15 @@ class GsaDatumReference(ModelBase):
swagger_types: dict[str, str] = {
"attribute_identity": "int",
"database_key": "str",
"record_history_identity": "int",
"attribute_guid": "str",
"record_history_guid": "str",
"attribute_guid": "str",
}

attribute_map: dict[str, str] = {
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
"record_history_identity": "recordHistoryIdentity",
"attribute_guid": "attributeGuid",
"record_history_guid": "recordHistoryGuid",
"attribute_guid": "attributeGuid",
}

subtype_mapping: dict[str, str] = {}
Expand All @@ -85,30 +83,25 @@ def __init__(
*,
attribute_identity: "int",
database_key: "str",
record_history_identity: "int",
record_history_guid: "str",
attribute_guid: "Union[str, None, Unset_Type]" = Unset,
record_history_guid: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaDatumReference - a model defined in Swagger

Parameters
----------
attribute_identity: int
database_key: str
record_history_identity: int
record_history_guid: str
attribute_guid: str, optional
record_history_guid: str, optional
"""
self._database_key: str
self._record_history_identity: int
self._record_history_guid: Union[str, None, Unset_Type] = Unset
self._record_history_guid: str
self._attribute_identity: int
self._attribute_guid: Union[str, None, Unset_Type] = Unset

self.database_key = database_key
self.record_history_identity = record_history_identity
if record_history_guid is not Unset:
self.record_history_guid = record_history_guid
self.record_history_guid = record_history_guid
self.attribute_identity = attribute_identity
if attribute_guid is not Unset:
self.attribute_guid = attribute_guid
Expand Down Expand Up @@ -142,53 +135,31 @@ def database_key(self, database_key: "str") -> None:
self._database_key = database_key

@property
def record_history_identity(self) -> "int":
"""Gets the record_history_identity of this GsaDatumReference.

Returns
-------
int
The record_history_identity of this GsaDatumReference.
"""
return self._record_history_identity

@record_history_identity.setter
def record_history_identity(self, record_history_identity: "int") -> None:
"""Sets the record_history_identity of this GsaDatumReference.

Parameters
----------
record_history_identity: int
The record_history_identity of this GsaDatumReference.
"""
# Field is not nullable
if record_history_identity is None:
raise ValueError("Invalid value for 'record_history_identity', must not be 'None'")
# Field is required
if record_history_identity is Unset: # type: ignore[comparison-overlap, unused-ignore]
raise ValueError("Invalid value for 'record_history_identity', must not be 'Unset'")
self._record_history_identity = record_history_identity

@property
def record_history_guid(self) -> "Union[str, None, Unset_Type]":
def record_history_guid(self) -> "str":
"""Gets the record_history_guid of this GsaDatumReference.

Returns
-------
Union[str, None, Unset_Type]
str
The record_history_guid of this GsaDatumReference.
"""
return self._record_history_guid

@record_history_guid.setter
def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type]") -> None:
def record_history_guid(self, record_history_guid: "str") -> None:
"""Sets the record_history_guid of this GsaDatumReference.

Parameters
----------
record_history_guid: Union[str, None, Unset_Type]
record_history_guid: str
The record_history_guid of this GsaDatumReference.
"""
# Field is not nullable
if record_history_guid is None:
raise ValueError("Invalid value for 'record_history_guid', must not be 'None'")
# Field is required
if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore]
raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'")
self._record_history_guid = record_history_guid

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class GsaProperty(ModelBase):
"recordColor".lower(): "#/components/schemas/GsaRecordColorProperty",
"recordGuid".lower(): "#/components/schemas/GsaRecordGuidProperty",
"recordHistoryGuid".lower(): "#/components/schemas/GsaRecordHistoryGuidProperty",
"recordHistoryIdentity".lower(): "#/components/schemas/GsaRecordHistoryIdentityProperty",
"recordType".lower(): "#/components/schemas/GsaRecordTypeProperty",
"releasedDate".lower(): "#/components/schemas/GsaReleasedDateProperty",
"shortName".lower(): "#/components/schemas/GsaShortNameProperty",
Expand Down

This file was deleted.

Loading