Skip to content

Commit 8127333

Browse files
pyansys-ci-botactions-user
authored andcommitted
Generate Client Library code - Automated
1 parent 070e4a8 commit 8127333

File tree

3 files changed

+96
-96
lines changed

3 files changed

+96
-96
lines changed

ansys-grantami-serverapi-openapi/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry]
66
name = "ansys-grantami-serverapi-openapi"
77
description = "Autogenerated client library for the Granta MI Server API."
8-
version = "4.0.0.dev293"
8+
version = "4.0.0.dev299"
99
license = "MIT"
1010
authors = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
1111
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]

ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_grid_point.py

+38-38
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ class GsaDataExportGridPoint(ModelBase):
6161
Name of the property used as discriminator for subtypes.
6262
"""
6363
swagger_types: Dict[str, str] = {
64-
"high": "float",
65-
"low": "float",
64+
"high_value": "float",
65+
"low_value": "float",
6666
"parameter_values": "list[GsaDataExportParameterValue]",
6767
}
6868

6969
attribute_map: Dict[str, str] = {
70-
"high": "high",
71-
"low": "low",
70+
"high_value": "highValue",
71+
"low_value": "lowValue",
7272
"parameter_values": "parameterValues",
7373
}
7474

@@ -81,28 +81,28 @@ class GsaDataExportGridPoint(ModelBase):
8181
def __init__(
8282
self,
8383
*,
84-
high: "Union[float, Unset_Type]" = Unset,
85-
low: "Union[float, Unset_Type]" = Unset,
84+
high_value: "Union[float, Unset_Type]" = Unset,
85+
low_value: "Union[float, Unset_Type]" = Unset,
8686
parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset,
8787
) -> None:
8888
"""GsaDataExportGridPoint - a model defined in Swagger
8989
9090
Parameters
9191
----------
92-
high: float, optional
93-
low: float, optional
92+
high_value: float, optional
93+
low_value: float, optional
9494
parameter_values: List[GsaDataExportParameterValue], optional
9595
"""
9696
self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset
97-
self._low: Union[float, Unset_Type] = Unset
98-
self._high: Union[float, Unset_Type] = Unset
97+
self._low_value: Union[float, Unset_Type] = Unset
98+
self._high_value: Union[float, Unset_Type] = Unset
9999

100100
if parameter_values is not Unset:
101101
self.parameter_values = parameter_values
102-
if low is not Unset:
103-
self.low = low
104-
if high is not Unset:
105-
self.high = high
102+
if low_value is not Unset:
103+
self.low_value = low_value
104+
if high_value is not Unset:
105+
self.high_value = high_value
106106

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

131131
@property
132-
def low(self) -> "Union[float, Unset_Type]":
133-
"""Gets the low of this GsaDataExportGridPoint.
132+
def low_value(self) -> "Union[float, Unset_Type]":
133+
"""Gets the low_value of this GsaDataExportGridPoint.
134134
135135
Returns
136136
-------
137137
Union[float, Unset_Type]
138-
The low of this GsaDataExportGridPoint.
138+
The low_value of this GsaDataExportGridPoint.
139139
"""
140-
return self._low
140+
return self._low_value
141141

142-
@low.setter
143-
def low(self, low: "Union[float, Unset_Type]") -> None:
144-
"""Sets the low of this GsaDataExportGridPoint.
142+
@low_value.setter
143+
def low_value(self, low_value: "Union[float, Unset_Type]") -> None:
144+
"""Sets the low_value of this GsaDataExportGridPoint.
145145
146146
Parameters
147147
----------
148-
low: Union[float, Unset_Type]
149-
The low of this GsaDataExportGridPoint.
148+
low_value: Union[float, Unset_Type]
149+
The low_value of this GsaDataExportGridPoint.
150150
"""
151151
# Field is not nullable
152-
if low is None:
153-
raise ValueError("Invalid value for 'low', must not be 'None'")
154-
self._low = low
152+
if low_value is None:
153+
raise ValueError("Invalid value for 'low_value', must not be 'None'")
154+
self._low_value = low_value
155155

156156
@property
157-
def high(self) -> "Union[float, Unset_Type]":
158-
"""Gets the high of this GsaDataExportGridPoint.
157+
def high_value(self) -> "Union[float, Unset_Type]":
158+
"""Gets the high_value of this GsaDataExportGridPoint.
159159
160160
Returns
161161
-------
162162
Union[float, Unset_Type]
163-
The high of this GsaDataExportGridPoint.
163+
The high_value of this GsaDataExportGridPoint.
164164
"""
165-
return self._high
165+
return self._high_value
166166

167-
@high.setter
168-
def high(self, high: "Union[float, Unset_Type]") -> None:
169-
"""Sets the high of this GsaDataExportGridPoint.
167+
@high_value.setter
168+
def high_value(self, high_value: "Union[float, Unset_Type]") -> None:
169+
"""Sets the high_value of this GsaDataExportGridPoint.
170170
171171
Parameters
172172
----------
173-
high: Union[float, Unset_Type]
174-
The high of this GsaDataExportGridPoint.
173+
high_value: Union[float, Unset_Type]
174+
The high_value of this GsaDataExportGridPoint.
175175
"""
176176
# Field is not nullable
177-
if high is None:
178-
raise ValueError("Invalid value for 'high', must not be 'None'")
179-
self._high = high
177+
if high_value is None:
178+
raise ValueError("Invalid value for 'high_value', must not be 'None'")
179+
self._high_value = high_value
180180

181181
@classmethod
182182
def get_real_child_model(cls, data: Dict[str, str]) -> str:

ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series_point.py

+57-57
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ class GsaDataExportSeriesPoint(ModelBase):
6161
Name of the property used as discriminator for subtypes.
6262
"""
6363
swagger_types: Dict[str, str] = {
64-
"x": "float",
6564
"x_name": "str",
66-
"y_high": "float",
67-
"y_low": "float",
65+
"x_value": "float",
66+
"y_high_value": "float",
67+
"y_low_value": "float",
6868
}
6969

7070
attribute_map: Dict[str, str] = {
71-
"x": "x",
7271
"x_name": "xName",
73-
"y_high": "yHigh",
74-
"y_low": "yLow",
72+
"x_value": "xValue",
73+
"y_high_value": "yHighValue",
74+
"y_low_value": "yLowValue",
7575
}
7676

7777
subtype_mapping: Dict[str, str] = {}
@@ -81,58 +81,58 @@ class GsaDataExportSeriesPoint(ModelBase):
8181
def __init__(
8282
self,
8383
*,
84-
x: "Union[float, Unset_Type]" = Unset,
8584
x_name: "Union[str, None, Unset_Type]" = Unset,
86-
y_high: "Union[float, Unset_Type]" = Unset,
87-
y_low: "Union[float, Unset_Type]" = Unset,
85+
x_value: "Union[float, Unset_Type]" = Unset,
86+
y_high_value: "Union[float, Unset_Type]" = Unset,
87+
y_low_value: "Union[float, Unset_Type]" = Unset,
8888
) -> None:
8989
"""GsaDataExportSeriesPoint - a model defined in Swagger
9090
9191
Parameters
9292
----------
93-
x: float, optional
9493
x_name: str, optional
95-
y_high: float, optional
96-
y_low: float, optional
94+
x_value: float, optional
95+
y_high_value: float, optional
96+
y_low_value: float, optional
9797
"""
98-
self._x: Union[float, Unset_Type] = Unset
98+
self._x_value: Union[float, Unset_Type] = Unset
9999
self._x_name: Union[str, None, Unset_Type] = Unset
100-
self._y_low: Union[float, Unset_Type] = Unset
101-
self._y_high: Union[float, Unset_Type] = Unset
100+
self._y_low_value: Union[float, Unset_Type] = Unset
101+
self._y_high_value: Union[float, Unset_Type] = Unset
102102

103-
if x is not Unset:
104-
self.x = x
103+
if x_value is not Unset:
104+
self.x_value = x_value
105105
if x_name is not Unset:
106106
self.x_name = x_name
107-
if y_low is not Unset:
108-
self.y_low = y_low
109-
if y_high is not Unset:
110-
self.y_high = y_high
107+
if y_low_value is not Unset:
108+
self.y_low_value = y_low_value
109+
if y_high_value is not Unset:
110+
self.y_high_value = y_high_value
111111

112112
@property
113-
def x(self) -> "Union[float, Unset_Type]":
114-
"""Gets the x of this GsaDataExportSeriesPoint.
113+
def x_value(self) -> "Union[float, Unset_Type]":
114+
"""Gets the x_value of this GsaDataExportSeriesPoint.
115115
116116
Returns
117117
-------
118118
Union[float, Unset_Type]
119-
The x of this GsaDataExportSeriesPoint.
119+
The x_value of this GsaDataExportSeriesPoint.
120120
"""
121-
return self._x
121+
return self._x_value
122122

123-
@x.setter
124-
def x(self, x: "Union[float, Unset_Type]") -> None:
125-
"""Sets the x of this GsaDataExportSeriesPoint.
123+
@x_value.setter
124+
def x_value(self, x_value: "Union[float, Unset_Type]") -> None:
125+
"""Sets the x_value of this GsaDataExportSeriesPoint.
126126
127127
Parameters
128128
----------
129-
x: Union[float, Unset_Type]
130-
The x of this GsaDataExportSeriesPoint.
129+
x_value: Union[float, Unset_Type]
130+
The x_value of this GsaDataExportSeriesPoint.
131131
"""
132132
# Field is not nullable
133-
if x is None:
134-
raise ValueError("Invalid value for 'x', must not be 'None'")
135-
self._x = x
133+
if x_value is None:
134+
raise ValueError("Invalid value for 'x_value', must not be 'None'")
135+
self._x_value = x_value
136136

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

159159
@property
160-
def y_low(self) -> "Union[float, Unset_Type]":
161-
"""Gets the y_low of this GsaDataExportSeriesPoint.
160+
def y_low_value(self) -> "Union[float, Unset_Type]":
161+
"""Gets the y_low_value of this GsaDataExportSeriesPoint.
162162
163163
Returns
164164
-------
165165
Union[float, Unset_Type]
166-
The y_low of this GsaDataExportSeriesPoint.
166+
The y_low_value of this GsaDataExportSeriesPoint.
167167
"""
168-
return self._y_low
168+
return self._y_low_value
169169

170-
@y_low.setter
171-
def y_low(self, y_low: "Union[float, Unset_Type]") -> None:
172-
"""Sets the y_low of this GsaDataExportSeriesPoint.
170+
@y_low_value.setter
171+
def y_low_value(self, y_low_value: "Union[float, Unset_Type]") -> None:
172+
"""Sets the y_low_value of this GsaDataExportSeriesPoint.
173173
174174
Parameters
175175
----------
176-
y_low: Union[float, Unset_Type]
177-
The y_low of this GsaDataExportSeriesPoint.
176+
y_low_value: Union[float, Unset_Type]
177+
The y_low_value of this GsaDataExportSeriesPoint.
178178
"""
179179
# Field is not nullable
180-
if y_low is None:
181-
raise ValueError("Invalid value for 'y_low', must not be 'None'")
182-
self._y_low = y_low
180+
if y_low_value is None:
181+
raise ValueError("Invalid value for 'y_low_value', must not be 'None'")
182+
self._y_low_value = y_low_value
183183

184184
@property
185-
def y_high(self) -> "Union[float, Unset_Type]":
186-
"""Gets the y_high of this GsaDataExportSeriesPoint.
185+
def y_high_value(self) -> "Union[float, Unset_Type]":
186+
"""Gets the y_high_value of this GsaDataExportSeriesPoint.
187187
188188
Returns
189189
-------
190190
Union[float, Unset_Type]
191-
The y_high of this GsaDataExportSeriesPoint.
191+
The y_high_value of this GsaDataExportSeriesPoint.
192192
"""
193-
return self._y_high
193+
return self._y_high_value
194194

195-
@y_high.setter
196-
def y_high(self, y_high: "Union[float, Unset_Type]") -> None:
197-
"""Sets the y_high of this GsaDataExportSeriesPoint.
195+
@y_high_value.setter
196+
def y_high_value(self, y_high_value: "Union[float, Unset_Type]") -> None:
197+
"""Sets the y_high_value of this GsaDataExportSeriesPoint.
198198
199199
Parameters
200200
----------
201-
y_high: Union[float, Unset_Type]
202-
The y_high of this GsaDataExportSeriesPoint.
201+
y_high_value: Union[float, Unset_Type]
202+
The y_high_value of this GsaDataExportSeriesPoint.
203203
"""
204204
# Field is not nullable
205-
if y_high is None:
206-
raise ValueError("Invalid value for 'y_high', must not be 'None'")
207-
self._y_high = y_high
205+
if y_high_value is None:
206+
raise ValueError("Invalid value for 'y_high_value', must not be 'None'")
207+
self._y_high_value = y_high_value
208208

209209
@classmethod
210210
def get_real_child_model(cls, data: Dict[str, str]) -> str:

0 commit comments

Comments
 (0)