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 (11061899322) #240

Closed
wants to merge 2 commits into from
Closed
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 = "4.0.0.dev293"
version = "4.0.0.dev299"
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 @@ -61,14 +61,14 @@ class GsaDataExportGridPoint(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: Dict[str, str] = {
"high": "float",
"low": "float",
"high_value": "float",
"low_value": "float",
"parameter_values": "list[GsaDataExportParameterValue]",
}

attribute_map: Dict[str, str] = {
"high": "high",
"low": "low",
"high_value": "highValue",
"low_value": "lowValue",
"parameter_values": "parameterValues",
}

Expand All @@ -81,28 +81,28 @@ class GsaDataExportGridPoint(ModelBase):
def __init__(
self,
*,
high: "Union[float, Unset_Type]" = Unset,
low: "Union[float, Unset_Type]" = Unset,
high_value: "Union[float, Unset_Type]" = Unset,
low_value: "Union[float, Unset_Type]" = Unset,
parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset,
) -> None:
"""GsaDataExportGridPoint - a model defined in Swagger

Parameters
----------
high: float, optional
low: float, optional
high_value: float, optional
low_value: float, optional
parameter_values: List[GsaDataExportParameterValue], optional
"""
self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset
self._low: Union[float, Unset_Type] = Unset
self._high: Union[float, Unset_Type] = Unset
self._low_value: Union[float, Unset_Type] = Unset
self._high_value: Union[float, Unset_Type] = Unset

if parameter_values is not Unset:
self.parameter_values = parameter_values
if low is not Unset:
self.low = low
if high is not Unset:
self.high = high
if low_value is not Unset:
self.low_value = low_value
if high_value is not Unset:
self.high_value = high_value

@property
def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]":
Expand All @@ -129,54 +129,54 @@ def parameter_values(
self._parameter_values = parameter_values

@property
def low(self) -> "Union[float, Unset_Type]":
"""Gets the low of this GsaDataExportGridPoint.
def low_value(self) -> "Union[float, Unset_Type]":
"""Gets the low_value of this GsaDataExportGridPoint.

Returns
-------
Union[float, Unset_Type]
The low of this GsaDataExportGridPoint.
The low_value of this GsaDataExportGridPoint.
"""
return self._low
return self._low_value

@low.setter
def low(self, low: "Union[float, Unset_Type]") -> None:
"""Sets the low of this GsaDataExportGridPoint.
@low_value.setter
def low_value(self, low_value: "Union[float, Unset_Type]") -> None:
"""Sets the low_value of this GsaDataExportGridPoint.

Parameters
----------
low: Union[float, Unset_Type]
The low of this GsaDataExportGridPoint.
low_value: Union[float, Unset_Type]
The low_value of this GsaDataExportGridPoint.
"""
# Field is not nullable
if low is None:
raise ValueError("Invalid value for 'low', must not be 'None'")
self._low = low
if low_value is None:
raise ValueError("Invalid value for 'low_value', must not be 'None'")
self._low_value = low_value

@property
def high(self) -> "Union[float, Unset_Type]":
"""Gets the high of this GsaDataExportGridPoint.
def high_value(self) -> "Union[float, Unset_Type]":
"""Gets the high_value of this GsaDataExportGridPoint.

Returns
-------
Union[float, Unset_Type]
The high of this GsaDataExportGridPoint.
The high_value of this GsaDataExportGridPoint.
"""
return self._high
return self._high_value

@high.setter
def high(self, high: "Union[float, Unset_Type]") -> None:
"""Sets the high of this GsaDataExportGridPoint.
@high_value.setter
def high_value(self, high_value: "Union[float, Unset_Type]") -> None:
"""Sets the high_value of this GsaDataExportGridPoint.

Parameters
----------
high: Union[float, Unset_Type]
The high of this GsaDataExportGridPoint.
high_value: Union[float, Unset_Type]
The high_value of this GsaDataExportGridPoint.
"""
# Field is not nullable
if high is None:
raise ValueError("Invalid value for 'high', must not be 'None'")
self._high = high
if high_value is None:
raise ValueError("Invalid value for 'high_value', must not be 'None'")
self._high_value = high_value

@classmethod
def get_real_child_model(cls, data: Dict[str, str]) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ class GsaDataExportSeriesPoint(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: Dict[str, str] = {
"x": "float",
"x_name": "str",
"y_high": "float",
"y_low": "float",
"x_value": "float",
"y_high_value": "float",
"y_low_value": "float",
}

attribute_map: Dict[str, str] = {
"x": "x",
"x_name": "xName",
"y_high": "yHigh",
"y_low": "yLow",
"x_value": "xValue",
"y_high_value": "yHighValue",
"y_low_value": "yLowValue",
}

subtype_mapping: Dict[str, str] = {}
Expand All @@ -81,58 +81,58 @@ class GsaDataExportSeriesPoint(ModelBase):
def __init__(
self,
*,
x: "Union[float, Unset_Type]" = Unset,
x_name: "Union[str, None, Unset_Type]" = Unset,
y_high: "Union[float, Unset_Type]" = Unset,
y_low: "Union[float, Unset_Type]" = Unset,
x_value: "Union[float, Unset_Type]" = Unset,
y_high_value: "Union[float, Unset_Type]" = Unset,
y_low_value: "Union[float, Unset_Type]" = Unset,
) -> None:
"""GsaDataExportSeriesPoint - a model defined in Swagger

Parameters
----------
x: float, optional
x_name: str, optional
y_high: float, optional
y_low: float, optional
x_value: float, optional
y_high_value: float, optional
y_low_value: float, optional
"""
self._x: Union[float, Unset_Type] = Unset
self._x_value: Union[float, Unset_Type] = Unset
self._x_name: Union[str, None, Unset_Type] = Unset
self._y_low: Union[float, Unset_Type] = Unset
self._y_high: Union[float, Unset_Type] = Unset
self._y_low_value: Union[float, Unset_Type] = Unset
self._y_high_value: Union[float, Unset_Type] = Unset

if x is not Unset:
self.x = x
if x_value is not Unset:
self.x_value = x_value
if x_name is not Unset:
self.x_name = x_name
if y_low is not Unset:
self.y_low = y_low
if y_high is not Unset:
self.y_high = y_high
if y_low_value is not Unset:
self.y_low_value = y_low_value
if y_high_value is not Unset:
self.y_high_value = y_high_value

@property
def x(self) -> "Union[float, Unset_Type]":
"""Gets the x of this GsaDataExportSeriesPoint.
def x_value(self) -> "Union[float, Unset_Type]":
"""Gets the x_value of this GsaDataExportSeriesPoint.

Returns
-------
Union[float, Unset_Type]
The x of this GsaDataExportSeriesPoint.
The x_value of this GsaDataExportSeriesPoint.
"""
return self._x
return self._x_value

@x.setter
def x(self, x: "Union[float, Unset_Type]") -> None:
"""Sets the x of this GsaDataExportSeriesPoint.
@x_value.setter
def x_value(self, x_value: "Union[float, Unset_Type]") -> None:
"""Sets the x_value of this GsaDataExportSeriesPoint.

Parameters
----------
x: Union[float, Unset_Type]
The x of this GsaDataExportSeriesPoint.
x_value: Union[float, Unset_Type]
The x_value of this GsaDataExportSeriesPoint.
"""
# Field is not nullable
if x is None:
raise ValueError("Invalid value for 'x', must not be 'None'")
self._x = x
if x_value is None:
raise ValueError("Invalid value for 'x_value', must not be 'None'")
self._x_value = x_value

@property
def x_name(self) -> "Union[str, None, Unset_Type]":
Expand All @@ -157,54 +157,54 @@ def x_name(self, x_name: "Union[str, None, Unset_Type]") -> None:
self._x_name = x_name

@property
def y_low(self) -> "Union[float, Unset_Type]":
"""Gets the y_low of this GsaDataExportSeriesPoint.
def y_low_value(self) -> "Union[float, Unset_Type]":
"""Gets the y_low_value of this GsaDataExportSeriesPoint.

Returns
-------
Union[float, Unset_Type]
The y_low of this GsaDataExportSeriesPoint.
The y_low_value of this GsaDataExportSeriesPoint.
"""
return self._y_low
return self._y_low_value

@y_low.setter
def y_low(self, y_low: "Union[float, Unset_Type]") -> None:
"""Sets the y_low of this GsaDataExportSeriesPoint.
@y_low_value.setter
def y_low_value(self, y_low_value: "Union[float, Unset_Type]") -> None:
"""Sets the y_low_value of this GsaDataExportSeriesPoint.

Parameters
----------
y_low: Union[float, Unset_Type]
The y_low of this GsaDataExportSeriesPoint.
y_low_value: Union[float, Unset_Type]
The y_low_value of this GsaDataExportSeriesPoint.
"""
# Field is not nullable
if y_low is None:
raise ValueError("Invalid value for 'y_low', must not be 'None'")
self._y_low = y_low
if y_low_value is None:
raise ValueError("Invalid value for 'y_low_value', must not be 'None'")
self._y_low_value = y_low_value

@property
def y_high(self) -> "Union[float, Unset_Type]":
"""Gets the y_high of this GsaDataExportSeriesPoint.
def y_high_value(self) -> "Union[float, Unset_Type]":
"""Gets the y_high_value of this GsaDataExportSeriesPoint.

Returns
-------
Union[float, Unset_Type]
The y_high of this GsaDataExportSeriesPoint.
The y_high_value of this GsaDataExportSeriesPoint.
"""
return self._y_high
return self._y_high_value

@y_high.setter
def y_high(self, y_high: "Union[float, Unset_Type]") -> None:
"""Sets the y_high of this GsaDataExportSeriesPoint.
@y_high_value.setter
def y_high_value(self, y_high_value: "Union[float, Unset_Type]") -> None:
"""Sets the y_high_value of this GsaDataExportSeriesPoint.

Parameters
----------
y_high: Union[float, Unset_Type]
The y_high of this GsaDataExportSeriesPoint.
y_high_value: Union[float, Unset_Type]
The y_high_value of this GsaDataExportSeriesPoint.
"""
# Field is not nullable
if y_high is None:
raise ValueError("Invalid value for 'y_high', must not be 'None'")
self._y_high = y_high
if y_high_value is None:
raise ValueError("Invalid value for 'y_high_value', must not be 'None'")
self._y_high_value = y_high_value

@classmethod
def get_real_child_model(cls, data: Dict[str, str]) -> str:
Expand Down
Loading