Skip to content

Commit

Permalink
Update Swagger.json (12877286257) (#300)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
pyansys-ci-bot and pyansys-ci-bot authored Jan 21, 2025
1 parent 092350c commit e9b4cb7
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 536 deletions.
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.dev396"
version = "5.0.0.dev398"
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 @@ -62,7 +62,7 @@ class GsaQueryAttributeInfo(ModelBase):
"""
swagger_types: dict[str, str] = {
"chartable": "bool",
"ordered_meta_attributes": "list[GsaQuerySlimNamedEntity]",
"ordered_meta_attributes": "list[GsaQuerySlimTypedAttribute]",
}

attribute_map: dict[str, str] = {
Expand All @@ -71,7 +71,7 @@ class GsaQueryAttributeInfo(ModelBase):
}

subtype_mapping: dict[str, str] = {
"orderedMetaAttributes": "GsaQuerySlimNamedEntity",
"orderedMetaAttributes": "GsaQuerySlimTypedAttribute",
}

discriminator: Optional[str] = None
Expand All @@ -80,17 +80,17 @@ def __init__(
self,
*,
chartable: "Union[bool, None, Unset_Type]" = Unset,
ordered_meta_attributes: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset,
ordered_meta_attributes: "Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type]" = Unset,
) -> None:
"""GsaQueryAttributeInfo - a model defined in Swagger
Parameters
----------
chartable: bool, optional
ordered_meta_attributes: list[GsaQuerySlimNamedEntity], optional
ordered_meta_attributes: list[GsaQuerySlimTypedAttribute], optional
"""
self._chartable: Union[bool, None, Unset_Type] = Unset
self._ordered_meta_attributes: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] = (
self._ordered_meta_attributes: Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type] = (
Unset
)

Expand Down Expand Up @@ -122,25 +122,27 @@ def chartable(self, chartable: "Union[bool, None, Unset_Type]") -> None:
self._chartable = chartable

@property
def ordered_meta_attributes(self) -> "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]":
def ordered_meta_attributes(
self,
) -> "Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type]":
"""Gets the ordered_meta_attributes of this GsaQueryAttributeInfo.
Returns
-------
Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]
Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type]
The ordered_meta_attributes of this GsaQueryAttributeInfo.
"""
return self._ordered_meta_attributes

@ordered_meta_attributes.setter
def ordered_meta_attributes(
self, ordered_meta_attributes: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]"
self, ordered_meta_attributes: "Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type]"
) -> None:
"""Sets the ordered_meta_attributes of this GsaQueryAttributeInfo.
Parameters
----------
ordered_meta_attributes: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]
ordered_meta_attributes: Union[list[GsaQuerySlimTypedAttribute], None, Unset_Type]
The ordered_meta_attributes of this GsaQueryAttributeInfo.
"""
self._ordered_meta_attributes = ordered_meta_attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class GsaQueryAttributeInfoProperties(ModelBase):
"""
swagger_types: dict[str, str] = {
"chartable": "bool",
"ordered_meta_attributes": "GsaQuerySlimNamedEntityProperties",
"ordered_meta_attributes": "GsaQuerySlimTypedAttributeProperties",
}

attribute_map: dict[str, str] = {
Expand All @@ -71,7 +71,7 @@ class GsaQueryAttributeInfoProperties(ModelBase):
}

subtype_mapping: dict[str, str] = {
"orderedMetaAttributes": "GsaQuerySlimNamedEntityProperties",
"orderedMetaAttributes": "GsaQuerySlimTypedAttributeProperties",
}

discriminator: Optional[str] = None
Expand All @@ -80,17 +80,19 @@ def __init__(
self,
*,
chartable: "Union[bool, None, Unset_Type]" = Unset,
ordered_meta_attributes: "Union[GsaQuerySlimNamedEntityProperties, Unset_Type]" = Unset,
ordered_meta_attributes: "Union[GsaQuerySlimTypedAttributeProperties, Unset_Type]" = Unset,
) -> None:
"""GsaQueryAttributeInfoProperties - a model defined in Swagger
Parameters
----------
chartable: bool, optional
ordered_meta_attributes: GsaQuerySlimNamedEntityProperties, optional
ordered_meta_attributes: GsaQuerySlimTypedAttributeProperties, optional
"""
self._chartable: Union[bool, None, Unset_Type] = Unset
self._ordered_meta_attributes: Union[GsaQuerySlimNamedEntityProperties, Unset_Type] = Unset
self._ordered_meta_attributes: Union[GsaQuerySlimTypedAttributeProperties, Unset_Type] = (
Unset
)

if chartable is not Unset:
self.chartable = chartable
Expand Down Expand Up @@ -120,25 +122,25 @@ def chartable(self, chartable: "Union[bool, None, Unset_Type]") -> None:
self._chartable = chartable

@property
def ordered_meta_attributes(self) -> "Union[GsaQuerySlimNamedEntityProperties, Unset_Type]":
def ordered_meta_attributes(self) -> "Union[GsaQuerySlimTypedAttributeProperties, Unset_Type]":
"""Gets the ordered_meta_attributes of this GsaQueryAttributeInfoProperties.
Returns
-------
Union[GsaQuerySlimNamedEntityProperties, Unset_Type]
Union[GsaQuerySlimTypedAttributeProperties, Unset_Type]
The ordered_meta_attributes of this GsaQueryAttributeInfoProperties.
"""
return self._ordered_meta_attributes

@ordered_meta_attributes.setter
def ordered_meta_attributes(
self, ordered_meta_attributes: "Union[GsaQuerySlimNamedEntityProperties, Unset_Type]"
self, ordered_meta_attributes: "Union[GsaQuerySlimTypedAttributeProperties, Unset_Type]"
) -> None:
"""Sets the ordered_meta_attributes of this GsaQueryAttributeInfoProperties.
Parameters
----------
ordered_meta_attributes: Union[GsaQuerySlimNamedEntityProperties, Unset_Type]
ordered_meta_attributes: Union[GsaQuerySlimTypedAttributeProperties, Unset_Type]
The ordered_meta_attributes of this GsaQueryAttributeInfoProperties.
"""
# Field is not nullable
Expand Down
Loading

0 comments on commit e9b4cb7

Please sign in to comment.