Skip to content

Commit

Permalink
Update Swagger.json (12135607128) (#268)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
pyansys-ci-bot and pyansys-ci-bot authored Dec 3, 2024
1 parent f7ab24f commit d4cd8f1
Show file tree
Hide file tree
Showing 20 changed files with 844 additions and 508 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 = "4.0.0.dev336"
version = "4.0.0.dev338"
license = "MIT"
authors = ["ANSYS, Inc. <[email protected]>"]
maintainers = ["ANSYS, Inc. <[email protected]>"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class GsaAttribute(ModelBase):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -87,6 +88,7 @@ class GsaAttribute(ModelBase):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand Down Expand Up @@ -131,6 +133,7 @@ def __init__(
type: "GsaAttributeType",
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaAttribute - a model defined in Swagger
Expand All @@ -147,10 +150,12 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
self._default_threshold_type: GsaAttributeThresholdType
self._axis_name: Union[str, None, Unset_Type] = Unset
self._axis_name_display_names: Union[dict[str, str], None, Unset_Type] = Unset
self._help_path: Union[str, None, Unset_Type] = Unset
self._info: GsaAttributeInfo
self._type: GsaAttributeType
Expand All @@ -164,6 +169,8 @@ def __init__(
self.default_threshold_type = default_threshold_type
if axis_name is not Unset:
self.axis_name = axis_name
if axis_name_display_names is not Unset:
self.axis_name_display_names = axis_name_display_names
if help_path is not Unset:
self.help_path = help_path
self.info = info
Expand Down Expand Up @@ -226,6 +233,30 @@ def axis_name(self, axis_name: "Union[str, None, Unset_Type]") -> None:
"""
self._axis_name = axis_name

@property
def axis_name_display_names(self) -> "Union[dict[str, str], None, Unset_Type]":
"""Gets the axis_name_display_names of this GsaAttribute.
Returns
-------
Union[dict[str, str], None, Unset_Type]
The axis_name_display_names of this GsaAttribute.
"""
return self._axis_name_display_names

@axis_name_display_names.setter
def axis_name_display_names(
self, axis_name_display_names: "Union[dict[str, str], None, Unset_Type]"
) -> None:
"""Sets the axis_name_display_names of this GsaAttribute.
Parameters
----------
axis_name_display_names: Union[dict[str, str], None, Unset_Type]
The axis_name_display_names of this GsaAttribute.
"""
self._axis_name_display_names = axis_name_display_names

@property
def help_path(self) -> "Union[str, None, Unset_Type]":
"""Gets the help_path of this GsaAttribute.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -88,6 +89,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -108,6 +110,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaDateTimeAttribute - a model defined in Swagger
Expand All @@ -124,6 +127,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -137,6 +141,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -92,6 +93,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -116,6 +118,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaDiscreteAttribute - a model defined in Swagger
Expand All @@ -134,6 +137,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -147,6 +151,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)
self._discrete_type: GsaSlimNamedEntity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -92,6 +93,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -117,6 +119,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttribute - a model defined in Swagger
Expand All @@ -135,6 +138,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -148,6 +152,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)
self._discrete_type: GsaSlimNamedEntity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class GsaFileAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -88,6 +89,7 @@ class GsaFileAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -108,6 +110,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaFileAttribute - a model defined in Swagger
Expand All @@ -124,6 +127,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -137,6 +141,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
"unit": "GsaSlimUnit",
}
Expand All @@ -93,6 +94,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
"unit": "unit",
}
Expand All @@ -119,6 +121,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
unit: "Union[GsaSlimUnit, Unset_Type]" = Unset,
) -> None:
Expand All @@ -138,6 +141,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
unit: GsaSlimUnit, optional
"""
Expand All @@ -152,6 +156,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)
self._unit: Union[GsaSlimUnit, Unset_Type] = Unset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -88,6 +89,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -108,6 +110,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaHyperlinkAttribute - a model defined in Swagger
Expand All @@ -124,6 +127,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -137,6 +141,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class GsaIntegerAttribute(GsaAttribute):
"type": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"axis_name_display_names": "dict(str, str)",
"help_path": "str",
}

Expand All @@ -90,6 +91,7 @@ class GsaIntegerAttribute(GsaAttribute):
"type": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"axis_name_display_names": "axisNameDisplayNames",
"help_path": "helpPath",
}

Expand All @@ -111,6 +113,7 @@ def __init__(
type: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset,
axis_name: "Union[str, None, Unset_Type]" = Unset,
axis_name_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset,
help_path: "Union[str, None, Unset_Type]" = Unset,
) -> None:
"""GsaIntegerAttribute - a model defined in Swagger
Expand All @@ -128,6 +131,7 @@ def __init__(
type: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str, optional
axis_name_display_names: dict[str, str], optional
help_path: str, optional
"""
super().__init__(
Expand All @@ -141,6 +145,7 @@ def __init__(
type=type,
about_attribute=about_attribute,
axis_name=axis_name,
axis_name_display_names=axis_name_display_names,
help_path=help_path,
)
self._is_unique: bool
Expand Down
Loading

0 comments on commit d4cd8f1

Please sign in to comment.