diff --git a/ansys-grantami-serverapi-openapi/LICENSE b/ansys-grantami-serverapi-openapi/LICENSE
index 69af3d3e4..3fc138d85 100644
--- a/ansys-grantami-serverapi-openapi/LICENSE
+++ b/ansys-grantami-serverapi-openapi/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2023 ANSYS, Inc. All rights reserved.
+Copyright 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml
index 583bbf63c..42ddd5c3c 100644
--- a/ansys-grantami-serverapi-openapi/pyproject.toml
+++ b/ansys-grantami-serverapi-openapi/pyproject.toml
@@ -8,7 +8,7 @@ module-name = "ansys.grantami.serverapi_openapi"
[project]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
-version = "6.0.0.dev1325"
+version = "6.0.0.dev1329"
license = "MIT"
requires-python = ">=3.12"
authors = [
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py
index 842f39176..ae1672ad0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py
@@ -20,4 +20,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-__version__ = "6.0.0.dev1325"
+__version__ = "6.0.0.dev1329"
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/api/job_queue_api.py
index f443d2f9b..1922c8331 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/api/job_queue_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/api/job_queue_api.py
@@ -120,24 +120,24 @@ def _create_job_with_http_info(
response_type_map=response_type_map,
)
- def delete_job(self, *, id: "str") -> "None":
+ def delete_job(self, *, id_: "str") -> "None":
"""Delete a job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._delete_job_with_http_info(id, _return_http_data_only=True)
+ data = self._delete_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _delete_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -145,15 +145,15 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'delete_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'delete_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -319,24 +319,24 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job(self, *, id: "str") -> "GsaJob | None":
+ def get_job(self, *, id_: "str") -> "GsaJob | None":
"""Get job by ID.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaJob | None
"""
- data = self._get_job_with_http_info(id, _return_http_data_only=True)
+ data = self._get_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -344,15 +344,15 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'get_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'get_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -388,28 +388,28 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job_output_file(self, *, id: "str", file_name: "str") -> "None | str":
+ def get_job_output_file(self, *, id_: "str", file_name: "str") -> "None | str":
"""Retrieve a job output file.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
file_name: str
Returns
-------
None | str
"""
- data = self._get_job_output_file_with_http_info(id, file_name, _return_http_data_only=True)
+ data = self._get_job_output_file_with_http_info(id_, file_name, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _get_job_output_file_with_http_info(
- self, id: "str", file_name: "str", **kwargs: Any
+ self, id_: "str", file_name: "str", **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"file_name",
"_return_http_data_only",
"_preload_content",
@@ -424,10 +424,10 @@ def _get_job_output_file_with_http_info(
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_job_output_file'"
+ "Missing the required parameter 'id_' when calling 'get_job_output_file'"
)
# verify the required parameter "file_name" is set
if "file_name" not in params or params["file_name"] is None:
@@ -438,8 +438,8 @@ def _get_job_output_file_with_http_info(
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
if "file_name" in params and file_name is not None:
@@ -598,24 +598,24 @@ def _get_jobs_with_http_info(
response_type_map=response_type_map,
)
- def get_output_filenames(self, *, id: "str") -> "None | list[str]":
+ def get_output_filenames(self, *, id_: "str") -> "None | list[str]":
"""Get a job's output filenames.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None | list[str]
"""
- data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True)
+ data = self._get_output_filenames_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_output_filenames_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -625,17 +625,17 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_output_filenames'"
+ "Missing the required parameter 'id_' when calling 'get_output_filenames'"
)
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -732,24 +732,24 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def move_to_top(self, *, id: "str") -> "None":
+ def move_to_top(self, *, id_: "str") -> "None":
"""Move a job to the top of the queue (actually sets the scheduled execution date to now, could be done with patch method).
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._move_to_top_with_http_info(id, _return_http_data_only=True)
+ data = self._move_to_top_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _move_to_top_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -757,15 +757,15 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method move_to_top")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'move_to_top'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -797,24 +797,24 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def restore_job(self, *, id: "str") -> "GsaCreateJobRequest | None":
+ def restore_job(self, *, id_: "str") -> "GsaCreateJobRequest | None":
"""Get a job creation object based on an existing job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaCreateJobRequest | None
"""
- data = self._restore_job_with_http_info(id, _return_http_data_only=True)
+ data = self._restore_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _restore_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -822,15 +822,15 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method restore_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'restore_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'restore_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -867,7 +867,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
def resubmit(
- self, *, id: "str", body: "Optional[GsaResubmitJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None
) -> "GsaJob | None":
"""Resubmit a job.
@@ -875,21 +875,21 @@ def resubmit(
Parameters
----------
- id: str
+ id_: str
body: GsaResubmitJobRequest
Returns
-------
GsaJob | None
"""
- data = self._resubmit_with_http_info(id, body, _return_http_data_only=True)
+ data = self._resubmit_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _resubmit_with_http_info(
- self, id: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -902,15 +902,15 @@ def _resubmit_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method resubmit")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'resubmit'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'resubmit'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -954,7 +954,7 @@ def _resubmit_with_http_info(
)
def update_job(
- self, *, id: "str", body: "Optional[GsaUpdateJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None
) -> "GsaJob | None":
"""Update a job.
@@ -962,21 +962,21 @@ def update_job(
Parameters
----------
- id: str
+ id_: str
body: GsaUpdateJobRequest
Returns
-------
GsaJob | None
"""
- data = self._update_job_with_http_info(id, body, _return_http_data_only=True)
+ data = self._update_job_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _update_job_with_http_info(
- self, id: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -989,15 +989,15 @@ def _update_job_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'update_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'update_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation.py
index b74486ef8..a6e56f2f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation.py
@@ -63,11 +63,11 @@ class GsaAggregation(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregation(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregation - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregation.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregation.
Returns
-------
GsaAggregationType
- The type of this GsaAggregation.
+ The type_ of this GsaAggregation.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregation.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregation.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregation.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregation.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_criterion.py
index 3351e9506..ba377ad6a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregationCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregationCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregationCriterion.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregationCriterion.
Returns
-------
GsaAggregationType
- The type of this GsaAggregationCriterion.
+ The type_ of this GsaAggregationCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregationCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregationCriterion.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregationCriterion.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregationCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_criterion.py
index 7a370a5be..def10253f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -100,45 +100,45 @@ class GsaAggregationDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType",
+ type_: "GsaAggregationDatumCriterionType",
) -> None:
"""GsaAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- self._type: GsaAggregationDatumCriterionType
+ self._type_: GsaAggregationDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationDatumCriterionType":
- """Gets the type of this GsaAggregationDatumCriterion.
+ def type_(self) -> "GsaAggregationDatumCriterionType":
+ """Gets the type_ of this GsaAggregationDatumCriterion.
Returns
-------
GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ The type_ of this GsaAggregationDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationDatumCriterionType") -> None:
- """Sets the type of this GsaAggregationDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationDatumCriterionType") -> None:
+ """Sets the type_ of this GsaAggregationDatumCriterion.
Parameters
----------
- type: GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ type_: GsaAggregationDatumCriterionType
+ The type_ of this GsaAggregationDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_exists_criterion.py
index 03b4a3000..ee8620979 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_aggregation_datum_exists_criterion.py
@@ -61,11 +61,11 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -77,43 +77,43 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaAggregationDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaAggregationDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaAggregationDatumExistsCriterion.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaAggregationDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaAggregationDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute.py
index 88b9785cf..27121ab04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute.py
@@ -70,7 +70,7 @@ class GsaAttribute(ModelBase):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -84,7 +84,7 @@ class GsaAttribute(ModelBase):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -128,7 +128,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -144,7 +144,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -153,7 +153,7 @@ def __init__(
self._axis_name: str | None | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._info: GsaAttributeInfo
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._table: GsaSlimEntity
@@ -167,7 +167,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
self.info = info
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -277,32 +277,32 @@ def info(self, info: "GsaAttributeInfo") -> None:
self._info = info
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaAttribute.
+ The type_ of this GsaAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation.py
index 0b30ceaa8..fe0af6dc9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregation(GsaAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -77,7 +77,7 @@ class GsaAttributeAggregation(GsaAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_identity: int | None | Unset_Type = Unset
self._attribute_guid: str | None | Unset_Type = Unset
self._attribute_aggregation_type: GsaAttributeAggregationType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_criterion.py
index 7d61c572d..a8ee83c09 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_criterion.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -77,7 +77,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_exists_criterion.py
index ced065242..d6117e33e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
"inner_criterion": "GsaAggregationDatumExistsCriterion",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
inner_criterion: "GsaAggregationDatumExistsCriterion",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
inner_criterion: GsaAggregationDatumExistsCriterion
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_value_criterion.py
index f0e7587d8..2bd8d1e0b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_aggregation_value_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"inner_criterion": "GsaAggregationDatumCriterion",
@@ -79,7 +79,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"inner_criterion": "innerCriterion",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
inner_criterion: "GsaAggregationDatumCriterion | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
inner_criterion: GsaAggregationDatumCriterion, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_criterion.py
index eefbb5810..8c5d28a56 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_criterion.py
@@ -67,7 +67,7 @@ class GsaAttributeCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -75,7 +75,7 @@ class GsaAttributeCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -107,12 +107,12 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_aggregation.py
index 030bd7022..8f3191816 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_criterion.py
index e35c71378..76340ca74 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumExistsCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.EXISTS,
inner_criterion: "GsaDatumExistsCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumExistsCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_export_failure.py
index 5f505a9fb..d911eb20e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_export_failure.py
@@ -71,14 +71,14 @@ class GsaAttributeExportFailure(GsaExportFailure):
"failed_attributes": "list[GsaAttributeReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_attributes": "failedAttributes",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_attributes: "list[GsaAttributeReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
) -> None:
"""GsaAttributeExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_attributes: list[GsaAttributeReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_attributes: list[GsaAttributeReference]
self.failed_attributes = failed_attributes
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_matches_criterion.py
index 705e44fee..ea3d2a362 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.MATCHES,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_not_applicable_criterion.py
index 6f4553ba2..271188c67 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_not_applicable_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -78,7 +78,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_sort_criterion.py
index b6389c1de..09a66bcb1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_sort_criterion.py
@@ -68,7 +68,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"attribute_type": "GsaAttributeType",
"guid": "str",
"identity": "int",
@@ -77,7 +77,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"guid": "guid",
"identity": "identity",
@@ -95,7 +95,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
@@ -106,14 +106,14 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
attribute_type: GsaAttributeType, optional
guid: str | None, optional
identity: int | None, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._attribute_type: GsaAttributeType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_value_aggregation.py
index 3948ce568..2d7bf606d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_value_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_attribute_value_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"aggregation_datum": "GsaAggregationDatum",
"attribute_guid": "str",
"attribute_identity": "int",
@@ -79,7 +79,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"aggregation_datum": "aggregationDatum",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
aggregation_datum: "GsaAggregationDatum | Unset_Type" = Unset,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
aggregation_datum: GsaAggregationDatum, optional
attribute_guid: str | None, optional
attribute_identity: int | None, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_boolean_criterion.py
index 758ad31b5..a8c583608 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_boolean_criterion.py
@@ -64,17 +64,17 @@ class GsaBooleanCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
- "_none": "list[GsaCriterion]",
- "all": "list[GsaCriterion]",
- "any": "list[GsaCriterion]",
+ "type_": "GsaCriterionType",
+ "all_": "list[GsaCriterion]",
+ "any_": "list[GsaCriterion]",
+ "none_": "list[GsaCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {
@@ -88,103 +88,103 @@ class GsaBooleanCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
- _none: "list[GsaCriterion] | None | Unset_Type" = Unset,
- all: "list[GsaCriterion] | None | Unset_Type" = Unset,
- any: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
+ all_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ any_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ none_: "list[GsaCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaBooleanCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
- _none: list[GsaCriterion] | None, optional
- all: list[GsaCriterion] | None, optional
- any: list[GsaCriterion] | None, optional
+ type_: GsaCriterionType
+ all_: list[GsaCriterion] | None, optional
+ any_: list[GsaCriterion] | None, optional
+ none_: list[GsaCriterion] | None, optional
"""
- super().__init__(type=type)
- self._all: list[GsaCriterion] | None | Unset_Type = Unset
- self._any: list[GsaCriterion] | None | Unset_Type = Unset
- self.__none: list[GsaCriterion] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._any_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._none_: list[GsaCriterion] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the all of this GsaBooleanCriterion.
+ def all_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ The all_ of this GsaBooleanCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the all of this GsaBooleanCriterion.
+ @all_.setter
+ def all_(self, all_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Parameters
----------
- all: list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ all_: list[GsaCriterion] | None | Unset_Type
+ The all_ of this GsaBooleanCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the any of this GsaBooleanCriterion.
+ def any_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ The any_ of this GsaBooleanCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the any of this GsaBooleanCriterion.
+ @any_.setter
+ def any_(self, any_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Parameters
----------
- any: list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ any_: list[GsaCriterion] | None | Unset_Type
+ The any_ of this GsaBooleanCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the _none of this GsaBooleanCriterion.
+ def none_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ The none_ of this GsaBooleanCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the _none of this GsaBooleanCriterion.
+ @none_.setter
+ def none_(self, none_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Parameters
----------
- _none: list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ none_: list[GsaCriterion] | None | Unset_Type
+ The none_ of this GsaBooleanCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_attribute.py
index 4b62bb928..c2ba91f6f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_attribute.py
@@ -64,7 +64,7 @@ class GsaCreateAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -74,7 +74,7 @@ class GsaCreateAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -112,7 +112,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -124,14 +124,14 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
is_hidden_from_search_criteria: bool | None, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._about_attribute: GsaSlimEntity | Unset_Type = Unset
@@ -139,7 +139,7 @@ def __init__(
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if help_path is not Unset:
@@ -153,32 +153,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaCreateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaCreateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaCreateAttribute.
+ The type_ of this GsaCreateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaCreateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaCreateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaCreateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaCreateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_cross_database_record_link_group.py
index 490d9c8ae..fdd8b7ecc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_cross_database_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -95,7 +95,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -106,12 +106,12 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_date_time_attribute.py
index a43d55c42..99df09317 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_date_time_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_attribute.py
index c873b8161..a12fd9f3d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -80,7 +80,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -100,7 +100,7 @@ def __init__(
*,
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -114,7 +114,7 @@ def __init__(
----------
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -124,7 +124,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute.py
index 2d6eced48..4d9138ef2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute.py
@@ -69,7 +69,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "list[GsaCreateDiscreteFunctionalAttributeParameter]",
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -81,7 +81,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "attributeParameters",
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -102,7 +102,7 @@ def __init__(
attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]",
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter]
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -125,7 +125,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
index 9a3e3cee6..550eafdda 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
index 79c378d03..333cd9431 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_parameter.py
index a76dda37e..59c206e6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter.py
index c394b17fb..a5cd7de46 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateDiscreteParameterValue]",
"guid": "str",
"help_path": "str",
@@ -77,7 +77,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaCreateDiscreteParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateDiscreteParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -113,7 +113,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_content.py
index 2b255809e..40d94fded 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateDiscreteParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaCreateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaCreateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_value.py
index 42e7deb76..a6e888a3b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_discrete_parameter_value.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteParameterValue(GsaCreateParameterValue):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteParameterValue - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_dynamic_record_link_group.py
index 1b802c503..fcfe3093b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_dynamic_record_link_group.py
@@ -72,7 +72,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"forbid_orphans": "bool",
"guid": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
@@ -83,7 +83,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
"referential_integrity_model": "referentialIntegrityModel",
@@ -103,7 +103,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset,
@@ -116,13 +116,13 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
forbid_orphans: bool, optional
guid: str, optional
referential_integrity_model: GsaReferentialIntegrityModel, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_file_attribute.py
index 7a90eeed9..e91368fea 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_file_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute.py
index a81728774..fb65a79a5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"attribute_parameters": "list[GsaCreateFloatFunctionalAttributeParameter]",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -82,7 +82,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"attribute_parameters": "attributeParameters",
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -105,7 +105,7 @@ def __init__(
*,
attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
----------
attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter]
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -133,7 +133,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
index c7fe61597..91b08ddca 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
index f3459306a..f0e5221ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_parameter.py
index 5eacf67e2..8e4a4b40c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_hyperlink_attribute.py
index 9ea8a6afe..ffc229c7e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_hyperlink_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_integer_attribute.py
index 4dff82770..df2834469 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_integer_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -122,7 +122,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_job_request.py
index 7680f2021..a4ad76d0d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_job_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_job_request.py
@@ -67,7 +67,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "str",
"parameters": "str",
"scheduled_execution_date": "datetime",
- "type": "str",
+ "type_": "str",
"version": "int",
}
@@ -78,7 +78,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "name",
"parameters": "parameters",
"scheduled_execution_date": "scheduledExecutionDate",
- "type": "type",
+ "type_": "type",
"version": "version",
}
@@ -95,7 +95,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
parameters: "str | None | Unset_Type" = Unset,
scheduled_execution_date: "datetime | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
version: "int | Unset_Type" = Unset,
) -> None:
"""GsaCreateJobRequest - a model defined in Swagger
@@ -108,13 +108,13 @@ def __init__(
name: str | None, optional
parameters: str | None, optional
scheduled_execution_date: datetime | None, optional
- type: str | None, optional
+ type_: str | None, optional
version: int, optional
"""
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
self._culture: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._version: int | Unset_Type = Unset
self._scheduled_execution_date: datetime | None | Unset_Type = Unset
self._input_file_ids: list[str] | None | Unset_Type = Unset
@@ -126,8 +126,8 @@ def __init__(
self.description = description
if culture is not Unset:
self.culture = culture
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if version is not Unset:
self.version = version
if scheduled_execution_date is not Unset:
@@ -204,26 +204,26 @@ def culture(self, culture: "str | None | Unset_Type") -> None:
self._culture = culture
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaCreateJobRequest.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaCreateJobRequest.
Returns
-------
str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ The type_ of this GsaCreateJobRequest.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaCreateJobRequest.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaCreateJobRequest.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ type_: str | None | Unset_Type
+ The type_ of this GsaCreateJobRequest.
"""
- self._type = type
+ self._type_ = type_
@property
def version(self) -> "int | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_logical_attribute.py
index 1636cdbe2..cf9e21ad8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_logical_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_long_text_attribute.py
index 13881232e..5139570dd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_long_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_maths_functional_attribute.py
index 587587623..1ecaf5036 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_maths_functional_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
@@ -86,7 +86,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
@@ -116,7 +116,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
@@ -137,7 +137,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
@@ -155,7 +155,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter.py
index 616e73505..f4d5f7fcd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateNumericParameterValue]",
"guid": "str",
"help_path": "str",
@@ -84,7 +84,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaCreateNumericParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateNumericParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -132,7 +132,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_content.py
index e3273d76e..b28aa9935 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateNumericParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaCreateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaCreateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_value.py
index 05bd79533..4548472bb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"guid": "guid",
"name": "name",
@@ -88,7 +88,7 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
guid: str, optional
name: str | None, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter.py
index 0503ff636..e52a056d3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter.py
@@ -65,7 +65,7 @@ class GsaCreateParameter(ModelBase):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"guid": "str",
"help_path": "str",
}
@@ -73,7 +73,7 @@ class GsaCreateParameter(ModelBase):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"help_path": "helpPath",
}
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -104,17 +104,17 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
guid: str, optional
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_index: int
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_index = default_parameter_value_index
@@ -123,32 +123,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameter.
+ The type_ of this GsaCreateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_content.py
index aa1acc71c..0b7b9479d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_content.py
@@ -64,12 +64,12 @@ class GsaCreateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameterContent.
+ The type_ of this GsaCreateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_value.py
index eb8e7eea9..1f543e22a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_parameter_value.py
@@ -63,12 +63,12 @@ class GsaCreateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaCreateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaCreateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaCreateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ The type_ of this GsaCreateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaCreateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaCreateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaCreateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_picture_attribute.py
index 28dea6a46..8679a90de 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_picture_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -77,7 +77,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -114,7 +114,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_point_attribute.py
index 2347f4aac..8af49810b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_point_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "str",
@@ -81,7 +81,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -104,7 +104,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
@@ -120,7 +120,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: str | None, optional
@@ -133,7 +133,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_range_attribute.py
index e5bf220f5..45efb53e1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_range_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -99,7 +99,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -124,7 +124,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_record_link_group.py
index a73507915..5889edb83 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_record_link_group.py
@@ -66,7 +66,7 @@ class GsaCreateRecordLinkGroup(ModelBase):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
}
@@ -74,7 +74,7 @@ class GsaCreateRecordLinkGroup(ModelBase):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateRecordLinkGroup - a model defined in Swagger
@@ -107,16 +107,16 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._link_target: GsaLinkTarget
self._reverse_name: str
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.link_target = link_target
self.reverse_name = reverse_name
self.name = name
@@ -124,32 +124,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaCreateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaCreateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ The type_ of this GsaCreateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaCreateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaCreateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaCreateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def link_target(self) -> "GsaLinkTarget":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_short_text_attribute.py
index 8d2850265..8a68d4370 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_short_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"data_rule": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"data_rule": "dataRule",
"default_threshold_type": "defaultThresholdType",
@@ -99,7 +99,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
data_rule: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -124,7 +124,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_static_record_link_group.py
index fbdb11de9..db0515f5b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_static_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -95,7 +95,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -106,12 +106,12 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_tabular_attribute.py
index ffd8dd4ac..31fd9419a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_create_tabular_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_full_table": "bool",
@@ -82,7 +82,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_full_table": "displayFullTable",
@@ -106,7 +106,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_full_table: "bool | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_full_table: bool, optional
@@ -137,7 +137,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_criterion.py
index 56cd9a13d..1249e3eb9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_criterion.py
@@ -63,11 +63,11 @@ class GsaCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -95,45 +95,45 @@ class GsaCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaCriterionType",
+ type_: "GsaCriterionType",
) -> None:
"""GsaCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
"""
- self._type: GsaCriterionType
+ self._type_: GsaCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaCriterionType":
- """Gets the type of this GsaCriterion.
+ def type_(self) -> "GsaCriterionType":
+ """Gets the type_ of this GsaCriterion.
Returns
-------
GsaCriterionType
- The type of this GsaCriterion.
+ The type_ of this GsaCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaCriterionType") -> None:
- """Sets the type of this GsaCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaCriterionType") -> None:
+ """Sets the type_ of this GsaCriterion.
Parameters
----------
- type: GsaCriterionType
- The type of this GsaCriterion.
+ type_: GsaCriterionType
+ The type_ of this GsaCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_cross_database_record_link_group.py
index 7fdc848f0..80e91e8c9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_cross_database_record_link_group.py
@@ -74,7 +74,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_count_rollup_datum.py
index a583961cc..c60775c6a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_count_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_count_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -74,7 +74,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -89,7 +89,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
def __init__(
self,
*,
- type: "str | None" = "countRollup",
+ type_: "str | None" = "countRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -100,7 +100,7 @@ def __init__(
Parameters
----------
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
@@ -108,7 +108,7 @@ def __init__(
roll_up_type: GsaTabularColumnRollUpType, optional
"""
super().__init__(
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_numeric_rollup_datum.py
index 4a21bdaec..87cb79f5d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_numeric_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_numeric_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -75,7 +75,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -91,7 +91,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
def __init__(
self,
*,
- type: "str | None" = "statisticalRollup",
+ type_: "str | None" = "statisticalRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -103,7 +103,7 @@ def __init__(
Parameters
----------
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -112,7 +112,7 @@ def __init__(
value: float, optional
"""
super().__init__(
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_rollup_datum.py
index e9bef7d14..21e782317 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_rollup_datum.py
@@ -63,7 +63,7 @@ class GsaDataExportRollupDatum(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -71,7 +71,7 @@ class GsaDataExportRollupDatum(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -94,7 +94,7 @@ class GsaDataExportRollupDatum(ModelBase):
def __init__(
self,
*,
- type: "str | None",
+ type_: "str | None",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -104,7 +104,7 @@ def __init__(
Parameters
----------
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -114,7 +114,7 @@ def __init__(
self._attribute_identity: int | None | Unset_Type = Unset
self._attribute_guid: str | None | Unset_Type = Unset
self._roll_up_type: GsaTabularColumnRollUpType | Unset_Type = Unset
- self._type: str | None
+ self._type_: str | None
if database_key is not Unset:
self.database_key = database_key
@@ -124,7 +124,7 @@ def __init__(
self.attribute_guid = attribute_guid
if roll_up_type is not Unset:
self.roll_up_type = roll_up_type
- self.type = type
+ self.type_ = type_
@property
def database_key(self) -> "str | None | Unset_Type":
@@ -224,29 +224,29 @@ def roll_up_type(self, roll_up_type: "GsaTabularColumnRollUpType | Unset_Type")
self._roll_up_type = roll_up_type
@property
- def type(self) -> "str | None":
- """Gets the type of this GsaDataExportRollupDatum.
+ def type_(self) -> "str | None":
+ """Gets the type_ of this GsaDataExportRollupDatum.
Returns
-------
str | None
- The type of this GsaDataExportRollupDatum.
+ The type_ of this GsaDataExportRollupDatum.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None") -> None:
- """Sets the type of this GsaDataExportRollupDatum.
+ @type_.setter
+ def type_(self, type_: "str | None") -> None:
+ """Sets the type_ of this GsaDataExportRollupDatum.
Parameters
----------
- type: str | None
- The type of this GsaDataExportRollupDatum.
+ type_: str | None
+ The type_ of this GsaDataExportRollupDatum.
"""
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_value_rollup_datum.py
index eb6e5968d..9958daab1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_value_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_value_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -74,7 +74,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -89,7 +89,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
def __init__(
self,
*,
- type: "str | None" = "valueRollup",
+ type_: "str | None" = "valueRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -100,7 +100,7 @@ def __init__(
Parameters
----------
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -108,7 +108,7 @@ def __init__(
value: object | None, optional
"""
super().__init__(
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_values_rollup_datum.py
index 43346348c..69835d60c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_values_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_data_export_values_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -75,7 +75,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -91,7 +91,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
def __init__(
self,
*,
- type: "str | None" = "valuesRollup",
+ type_: "str | None" = "valuesRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -103,7 +103,7 @@ def __init__(
Parameters
----------
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -112,7 +112,7 @@ def __init__(
values: list[object] | None, optional
"""
super().__init__(
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_aggregation_datum_criterion.py
index 8a381a08c..fb220fb91 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
) -> None:
"""GsaDateTimeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_attribute.py
index 211384584..719d69d9d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_attribute.py
@@ -71,7 +71,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_criterion.py
index e356c8782..3cf893954 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "datetime",
"lte": "datetime",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
gte: "datetime | None | Unset_Type" = Unset,
lte: "datetime | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: datetime | None, optional
lte: datetime | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: datetime | None | Unset_Type = Unset
self._lte: datetime | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_exists_criterion.py
index 9770d26fa..651ee8348 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
) -> None:
"""GsaDateTimeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
index 8a0b7df30..923f88898 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion(GsaAggrega
"""
swagger_types: dict[str, str] = {
"interval": "GsaCalendarInterval",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
interval: "GsaCalendarInterval",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
interval: GsaCalendarInterval
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: GsaCalendarInterval
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
index 597d5ce78..4408eb747 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatu
"""
swagger_types: dict[str, str] = {
"interval": "str",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
interval: "str",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
interval: str
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: str
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
index 2a1509eb2..3b3a03c30 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_criterion.py
index c330c4c59..c3b3df8d7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -111,45 +111,45 @@ class GsaDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumCriterionType",
+ type_: "GsaDatumCriterionType",
) -> None:
"""GsaDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- self._type: GsaDatumCriterionType
+ self._type_: GsaDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumCriterionType":
- """Gets the type of this GsaDatumCriterion.
+ def type_(self) -> "GsaDatumCriterionType":
+ """Gets the type_ of this GsaDatumCriterion.
Returns
-------
GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ The type_ of this GsaDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumCriterionType") -> None:
- """Sets the type of this GsaDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaDatumCriterionType") -> None:
+ """Sets the type_ of this GsaDatumCriterion.
Parameters
----------
- type: GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ type_: GsaDatumCriterionType
+ The type_ of this GsaDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_discrete_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_discrete_rollup.py
index 606dfaeb1..afff52a4c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_discrete_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_discrete_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "GsaDiscreteValuesDiscreteValue",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETEROLLUP,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETEROLLUP,
value: "GsaDiscreteValuesDiscreteValue",
) -> None:
"""GsaDatumDiscreteRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: GsaDiscreteValuesDiscreteValue
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: GsaDiscreteValuesDiscreteValue
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_exists_criterion.py
index 65bc11829..7d0ee97aa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_exists_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -98,45 +98,45 @@ class GsaDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaDatumExistsCriterion.
Returns
-------
GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ The type_ of this GsaDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ type_: GsaAttributeType
+ The type_ of this GsaDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_export_failure.py
index b2f4cda5b..30fa69cdc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_export_failure.py
@@ -71,14 +71,14 @@ class GsaDatumExportFailure(GsaExportFailure):
"failed_datum": "GsaDatumReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_datum": "failedDatum",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_datum: "GsaDatumReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.DATUM,
+ type_: "GsaExportFailureType" = GsaExportFailureType.DATUM,
) -> None:
"""GsaDatumExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_datum: GsaDatumReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_datum: GsaDatumReference
self.failed_datum = failed_datum
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_integer_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_integer_rollup.py
index 3460b9a9d..7abc26357 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_integer_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_integer_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -82,17 +82,17 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.INTEGERROLLUP,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.INTEGERROLLUP,
value: "int",
) -> None:
"""GsaDatumIntegerRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_list_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_list_rollup.py
index bc9cf7603..3225b4506 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_list_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_list_rollup.py
@@ -67,12 +67,12 @@ class GsaDatumListRollup(GsaDatumRollup):
"""
swagger_types: dict[str, str] = {
"datums": "list[GsaDatum]",
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
"datums": "datums",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,16 +85,16 @@ def __init__(
self,
*,
datums: "list[GsaDatum]",
- type: "GsaDatumRollupType" = GsaDatumRollupType.LISTROLLUP,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.LISTROLLUP,
) -> None:
"""GsaDatumListRollup - a model defined in Swagger
Parameters
----------
datums: list[GsaDatum]
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._datums: list[GsaDatum]
self.datums = datums
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_numerical_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_numerical_rollup.py
index f513faae1..c23e5387a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_numerical_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_numerical_rollup.py
@@ -66,13 +66,13 @@ class GsaDatumNumericalRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "float",
"unit": "GsaSlimUnit",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"unit": "unit",
}
@@ -86,7 +86,7 @@ class GsaDatumNumericalRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.NUMERICALROLLUP,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.NUMERICALROLLUP,
value: "float",
unit: "GsaSlimUnit | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: float
unit: GsaSlimUnit, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float
self._unit: GsaSlimUnit | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_rollup.py
index 3c8934ee9..8501b5a99 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_datum_rollup.py
@@ -63,11 +63,11 @@ class GsaDatumRollup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,45 +86,45 @@ class GsaDatumRollup(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumRollupType",
+ type_: "GsaDatumRollupType",
) -> None:
"""GsaDatumRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- self._type: GsaDatumRollupType
+ self._type_: GsaDatumRollupType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumRollupType":
- """Gets the type of this GsaDatumRollup.
+ def type_(self) -> "GsaDatumRollupType":
+ """Gets the type_ of this GsaDatumRollup.
Returns
-------
GsaDatumRollupType
- The type of this GsaDatumRollup.
+ The type_ of this GsaDatumRollup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumRollupType") -> None:
- """Sets the type of this GsaDatumRollup.
+ @type_.setter
+ def type_(self, type_: "GsaDatumRollupType") -> None:
+ """Sets the type_ of this GsaDatumRollup.
Parameters
----------
- type: GsaDatumRollupType
- The type of this GsaDatumRollup.
+ type_: GsaDatumRollupType
+ The type_ of this GsaDatumRollup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_attribute.py
index e45feba50..8160cc750 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_attribute.py
@@ -73,7 +73,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_multi_valued": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_multi_valued": "isMultiValued",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -113,7 +113,7 @@ def __init__(
is_multi_valued: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -131,7 +131,7 @@ def __init__(
is_multi_valued: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -144,7 +144,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_datum_exists_criterion.py
index af4f2101c..a26cd58b5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
) -> None:
"""GsaDiscreteDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute.py
index 507ee75e4..5a64ebb8e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute.py
@@ -73,7 +73,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -114,7 +114,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -132,7 +132,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -145,7 +145,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
index c192d7d74..4030d4fc9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeDiscreteParameter(GsaDiscreteFunctionalAttri
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
index e2b4b6f00..869d58828 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeNumericParameter(GsaDiscreteFunctionalAttrib
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_parameter.py
index f9b4b759a..b1dbdb9c5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_datum_exists_criterion.py
index 05783ef4c..f833feee2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
) -> None:
"""GsaDiscreteFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_range_datum_criterion.py
index 4b9c3e2f0..e4adf1308 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_range_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_values_datum_criterion.py
index 667c13e75..169c2fc19 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_functional_values_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"any_guids": "list[str]",
"any_identities": "list[int]",
"constraints": "list[GsaParameterConstraint]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"any_guids": "anyGuids",
"any_identities": "anyIdentities",
"constraints": "constraints",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
any_guids: "list[str] | None | Unset_Type" = Unset,
any_identities: "list[int] | None | Unset_Type" = Unset,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
any_guids: list[str] | None, optional
any_identities: list[int] | None, optional
constraints: list[GsaParameterConstraint] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._any_identities: list[int] | None | Unset_Type = Unset
self._any_guids: list[str] | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_datum_criterion.py
index 406e53a84..7c2f6d224 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
value: "str",
) -> None:
"""GsaDiscreteGuidDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_values_datum_criterion.py
index 805e686fa..a3b715401 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_guid_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteGuidValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_datum_criterion.py
index 97d0371a8..dee288013 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
value: "int",
) -> None:
"""GsaDiscreteIdentityDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_values_datum_criterion.py
index e8f8429f4..6965fa874 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_identity_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[int]",
- "all": "list[int]",
- "any": "list[int]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[int]",
+ "any_": "list[int]",
+ "none_": "list[int]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
- _none: "list[int] | None | Unset_Type" = Unset,
- all: "list[int] | None | Unset_Type" = Unset,
- any: "list[int] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
+ all_: "list[int] | None | Unset_Type" = Unset,
+ any_: "list[int] | None | Unset_Type" = Unset,
+ none_: "list[int] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteIdentityValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[int] | None, optional
- all: list[int] | None, optional
- any: list[int] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[int] | None, optional
+ any_: list[int] | None, optional
+ none_: list[int] | None, optional
"""
- super().__init__(type=type)
- self._all: list[int] | None | Unset_Type = Unset
- self._any: list[int] | None | Unset_Type = Unset
- self.__none: list[int] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[int] | None | Unset_Type = Unset
+ self._any_: list[int] | None | Unset_Type = Unset
+ self._none_: list[int] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[int] | None | Unset_Type":
- """Gets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ def all_(self) -> "list[int] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Returns
-------
list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[int] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[int] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Parameters
----------
- all: list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ all_: list[int] | None | Unset_Type
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[int] | None | Unset_Type":
- """Gets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ def any_(self) -> "list[int] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[int] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[int] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Parameters
----------
- any: list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ any_: list[int] | None | Unset_Type
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[int] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ def none_(self) -> "list[int] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[int] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[int] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Parameters
----------
- _none: list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ none_: list[int] | None | Unset_Type
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter.py
index 033a456a0..d42cd5369 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaDiscreteParameterValue]",
"help_path": "str",
}
@@ -78,7 +78,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
}
@@ -96,7 +96,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaDiscreteParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -108,7 +108,7 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaDiscreteParameterValue]
help_path: str | None, optional
"""
@@ -117,7 +117,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._values: list[GsaDiscreteParameterValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_content.py
index bb1285abd..19ce4ca78 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaDiscreteParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaDiscreteRange",
"parameter_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaDiscreteRange, optional
parameter_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimNamedEntity | Unset_Type = Unset
self._parameter_range: GsaDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_name_constraint.py
index c5cc13c29..afc3c8454 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_name_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_name_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterNameConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[str]",
- "any": "list[str]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
- _none: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterNameConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterNameConstraint.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterNameConstraint.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterNameConstraint.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterNameConstraint.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value.py
index c92ec9c68..f31f9a601 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value.py
@@ -70,13 +70,13 @@ class GsaDiscreteParameterValue(GsaParameterValue):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -88,7 +88,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
) -> None:
"""GsaDiscreteParameterValue - a model defined in Swagger
@@ -96,9 +96,9 @@ def __init__(
----------
guid: str
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value_constraint.py
index ac977d035..771b3ebf2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_parameter_value_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterValueConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[float]",
- "any": "list[float]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[float]",
+ "none_": "list[float]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
- _none: "list[float] | None | Unset_Type" = Unset,
- any: "list[float] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
+ any_: "list[float] | None | Unset_Type" = Unset,
+ none_: "list[float] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterValueConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[float] | None, optional
- any: list[float] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[float] | None, optional
+ none_: list[float] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[float] | None | Unset_Type = Unset
- self.__none: list[float] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[float] | None | Unset_Type = Unset
+ self._none_: list[float] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[float] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterValueConstraint.
+ def any_(self) -> "list[float] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[float] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterValueConstraint.
+ @any_.setter
+ def any_(self, any_: "list[float] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- any: list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ any_: list[float] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[float] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterValueConstraint.
+ def none_(self) -> "list[float] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[float] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterValueConstraint.
+ @none_.setter
+ def none_(self, none_: "list[float] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- _none: list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ none_: list[float] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_range_datum_criterion.py
index ccdd0c33b..60bf14e17 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_aggregation_datum_criterion.py
index 68d386f65..3b23f0796 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_datum_criterion.py
index d5312662b..2ac33e979 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_prefix_datum_criterion.py
index c94216f8a..53c0e8a04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaDiscreteTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
) -> None:
"""GsaDiscreteTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_values_datum_criterion.py
index 65e76a255..fefb9bc3d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_discrete_text_values_datum_criterion.py
@@ -68,18 +68,18 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
"text_match_behavior": "textMatchBehavior",
}
@@ -92,102 +92,102 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteTextValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
if text_match_behavior is not Unset:
self.text_match_behavior = text_match_behavior
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteTextValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteTextValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteTextValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteTextValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@property
def text_match_behavior(self) -> "GsaTextMatchBehavior | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_double_sorting_value.py
index 34741d9d7..dc7f90bd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_double_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_double_sorting_value.py
@@ -68,12 +68,12 @@ class GsaDoubleSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDoubleSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
+ type_: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
value: "float | Unset_Type" = Unset,
) -> None:
"""GsaDoubleSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_dynamic_record_link_group.py
index fde8609af..2cad9c669 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_dynamic_record_link_group.py
@@ -76,7 +76,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -90,7 +90,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -113,7 +113,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -129,7 +129,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -139,7 +139,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_export_failure.py
index 14790cc55..4a0b0f92b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_export_failure.py
@@ -65,13 +65,13 @@ class GsaExportFailure(ModelBase):
swagger_types: dict[str, str] = {
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
*,
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType",
+ type_: "GsaExportFailureType",
) -> None:
"""GsaExportFailure - a model defined in Swagger
@@ -101,43 +101,43 @@ def __init__(
----------
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- self._type: GsaExportFailureType
+ self._type_: GsaExportFailureType
self._failure_details: str
self._failure_reason: str
- self.type = type
+ self.type_ = type_
self.failure_details = failure_details
self.failure_reason = failure_reason
@property
- def type(self) -> "GsaExportFailureType":
- """Gets the type of this GsaExportFailure.
+ def type_(self) -> "GsaExportFailureType":
+ """Gets the type_ of this GsaExportFailure.
Returns
-------
GsaExportFailureType
- The type of this GsaExportFailure.
+ The type_ of this GsaExportFailure.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaExportFailureType") -> None:
- """Sets the type of this GsaExportFailure.
+ @type_.setter
+ def type_(self, type_: "GsaExportFailureType") -> None:
+ """Sets the type_ of this GsaExportFailure.
Parameters
----------
- type: GsaExportFailureType
- The type of this GsaExportFailure.
+ type_: GsaExportFailureType
+ The type_ of this GsaExportFailure.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def failure_details(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_attribute.py
index a8f978952..7994fb0af 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_attribute.py
@@ -71,7 +71,7 @@ class GsaFileAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaFileAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_criterion.py
index 69aae60f9..8fae49a40 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
value: "str",
) -> None:
"""GsaFileDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_exists_criterion.py
index 3de1932b9..ad09e54c2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
) -> None:
"""GsaFileDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_prefix_datum_criterion.py
index e28744a9f..a3df93e1b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_file_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaFilePrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
) -> None:
"""GsaFilePrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_aggregation_datum_criterion.py
index a0726ba39..17051b179 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_parameter_values": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_parameter_values": "numberOfParameterValues",
}
@@ -84,17 +84,17 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
number_of_parameter_values: "int | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_parameter_values: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_parameter_values: int | Unset_Type = Unset
if number_of_parameter_values is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute.py
index 1cafe8423..531b5ab59 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute.py
@@ -73,7 +73,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_discrete_parameter.py
index 0a91b3dab..d09acec4e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaFloatFunctionalAttributeDiscreteParameter(GsaFloatFunctionalAttributePa
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_numeric_parameter.py
index 4b9cff407..76c590256 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_parameter.py
index 82d17576d..ac6117351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_criterion.py
index 7cbfd71d5..637415250 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_exists_criterion.py
index 7c16ed729..fbd079891 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
) -> None:
"""GsaFloatFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_graph_datum_criterion.py
index 7d984396d..19adb68ee 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_graph_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_float_functional_graph_datum_criterion.py
@@ -68,7 +68,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"default_x_axis_parameter_guid": "str",
"default_x_axis_parameter_identity": "int",
"is_series_graph": "bool",
@@ -82,7 +82,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_x_axis_parameter_guid": "defaultXAxisParameterGuid",
"default_x_axis_parameter_identity": "defaultXAxisParameterIdentity",
"is_series_graph": "isSeriesGraph",
@@ -102,7 +102,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
default_x_axis_parameter_guid: "str | None | Unset_Type" = Unset,
default_x_axis_parameter_identity: "int | None | Unset_Type" = Unset,
is_series_graph: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
default_x_axis_parameter_guid: str | None, optional
default_x_axis_parameter_identity: int | None, optional
is_series_graph: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
x_axis_parameter_guid: str | None, optional
x_axis_parameter_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._x_axis_parameter_identity: int | None | Unset_Type = Unset
self._x_axis_parameter_guid: str | None | Unset_Type = Unset
self._number_of_series_lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation.py
index 58223019e..ded068628 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation.py
@@ -66,13 +66,13 @@ class GsaFreeTextAggregation(GsaAggregation):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"terms": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"terms": "terms",
}
@@ -84,7 +84,7 @@ class GsaFreeTextAggregation(GsaAggregation):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
guid: "str | Unset_Type" = Unset,
terms: "list[str] | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str, optional
terms: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str | Unset_Type = Unset
self._terms: list[str] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation_criterion.py
index 7e08932ea..e13b7bc92 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_aggregation_criterion.py
@@ -66,7 +66,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attributes": "GsaValueSpecifier",
"criterion_guid": "str",
"local_columns": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attributes": "attributes",
"criterion_guid": "criterionGuid",
"local_columns": "localColumns",
@@ -93,7 +93,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
criterion_guid: "str | Unset_Type" = Unset,
local_columns: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -104,14 +104,14 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
attributes: GsaValueSpecifier, optional
criterion_guid: str, optional
local_columns: GsaValueSpecifier, optional
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._criterion_guid: str | Unset_Type = Unset
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_criterion.py
index ee3a82868..bd52b0a62 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_criterion.py
@@ -64,7 +64,7 @@ class GsaFreeTextCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextCriterion(GsaCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -99,7 +99,7 @@ class GsaFreeTextCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TEXT,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXT,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
local_columns: GsaValueSpecifier, optional
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_prefix_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_prefix_criterion.py
index d54ac2484..423aed1f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_prefix_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_free_text_prefix_criterion.py
@@ -65,7 +65,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -76,7 +76,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
prefix: str
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
column_identities_to_boost: list[GsaBoostByIdentity] | None, optional
local_columns: GsaValueSpecifier, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_guid_only_attribute.py
index 916d23aa4..e6c0c98c0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_guid_only_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_guid_only_attribute.py
@@ -62,7 +62,7 @@ class GsaGuidOnlyAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"graph_type": "str",
"guid": "str",
@@ -76,7 +76,7 @@ class GsaGuidOnlyAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"graph_type": "graphType",
"guid": "guid",
@@ -101,7 +101,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -117,7 +117,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
graph_type: str | None, optional
guid: str, optional
@@ -130,7 +130,7 @@ def __init__(
"""
self._name: str
self._guid: str | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_guid: str | None | Unset_Type = Unset
@@ -143,7 +143,7 @@ def __init__(
self.name = name
if guid is not Unset:
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -215,32 +215,32 @@ def guid(self, guid: "str | Unset_Type") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaGuidOnlyAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaGuidOnlyAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ The type_ of this GsaGuidOnlyAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaGuidOnlyAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaGuidOnlyAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaGuidOnlyAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_attribute.py
index eeb3a06ae..1c30ffd2f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_attribute.py
@@ -71,7 +71,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_criterion.py
index 85cfcd871..479d17741 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
value: "str",
) -> None:
"""GsaHyperlinkDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_exists_criterion.py
index 0a3d41985..d8d2482cc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
) -> None:
"""GsaHyperlinkDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_prefix_datum_criterion.py
index b657164c0..c8a855e3b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_hyperlink_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaHyperlinkPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
) -> None:
"""GsaHyperlinkPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_aggregation_datum_criterion.py
index e6a649699..5c4bd7a13 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
) -> None:
"""GsaIntegerAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_attribute.py
index 508541fc0..b2ba6f065 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_attribute.py
@@ -72,7 +72,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -138,7 +138,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_criterion.py
index c2af4253a..a86d0b768 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_exists_criterion.py
index e4df96edb..cc7260ec5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
) -> None:
"""GsaIntegerDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
index 41543e985..6946d8b67 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
index e279433dd..a6b38fb06 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaIntegerHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integration_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integration_attribute.py
index 3ed524e4f..988042b15 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integration_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_integration_attribute.py
@@ -62,7 +62,7 @@ class GsaIntegrationAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"discrete_type_identity": "int",
"graph_type": "str",
@@ -78,7 +78,7 @@ class GsaIntegrationAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"discrete_type_identity": "discreteTypeIdentity",
"graph_type": "graphType",
@@ -105,7 +105,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
discrete_type_identity: "int | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
discrete_type_identity: int | None, optional
graph_type: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
self._name: str
self._identity: int | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_identity: int | None | Unset_Type = Unset
@@ -155,7 +155,7 @@ def __init__(
self.identity = identity
if guid is not Unset:
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -253,32 +253,32 @@ def guid(self, guid: "str | None | Unset_Type") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaIntegrationAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaIntegrationAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ The type_ of this GsaIntegrationAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaIntegrationAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaIntegrationAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaIntegrationAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_job.py
index 7ac0d6c2d..1e0686f04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_job.py
@@ -64,7 +64,7 @@ class GsaJob(ModelBase):
"completion_date": "datetime",
"description": "str",
"execution_date": "datetime",
- "id": "str",
+ "id_": "str",
"input_file_ids": "list[str]",
"job_specific_outputs": "dict(str, object)",
"name": "str",
@@ -75,14 +75,14 @@ class GsaJob(ModelBase):
"submission_date": "datetime",
"submitter_name": "str",
"submitter_roles": "list[str]",
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
"completion_date": "completionDate",
"description": "description",
"execution_date": "executionDate",
- "id": "id",
+ "id_": "id",
"input_file_ids": "inputFileIds",
"job_specific_outputs": "jobSpecificOutputs",
"name": "name",
@@ -93,7 +93,7 @@ class GsaJob(ModelBase):
"submission_date": "submissionDate",
"submitter_name": "submitterName",
"submitter_roles": "submitterRoles",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -108,7 +108,7 @@ def __init__(
completion_date: "datetime | None | Unset_Type" = Unset,
description: "str | None | Unset_Type" = Unset,
execution_date: "datetime | None | Unset_Type" = Unset,
- id: "str | Unset_Type" = Unset,
+ id_: "str | Unset_Type" = Unset,
input_file_ids: "list[str] | None | Unset_Type" = Unset,
job_specific_outputs: "dict[str, object] | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
submission_date: "datetime | None | Unset_Type" = Unset,
submitter_name: "str | None | Unset_Type" = Unset,
submitter_roles: "list[str] | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaJob - a model defined in Swagger
@@ -128,7 +128,7 @@ def __init__(
completion_date: datetime | None, optional
description: str | None, optional
execution_date: datetime | None, optional
- id: str, optional
+ id_: str, optional
input_file_ids: list[str] | None, optional
job_specific_outputs: dict[str, object] | None, optional
name: str | None, optional
@@ -139,12 +139,12 @@ def __init__(
submission_date: datetime | None, optional
submitter_name: str | None, optional
submitter_roles: list[str] | None, optional
- type: str | None, optional
+ type_: str | None, optional
"""
- self._id: str | Unset_Type = Unset
+ self._id_: str | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._submitter_name: str | None | Unset_Type = Unset
self._submitter_roles: list[str] | None | Unset_Type = Unset
self._submission_date: datetime | None | Unset_Type = Unset
@@ -157,14 +157,14 @@ def __init__(
self._position: int | None | Unset_Type = Unset
self._job_specific_outputs: dict[str, object] | None | Unset_Type = Unset
- if id is not Unset:
- self.id = id
+ if id_ is not Unset:
+ self.id_ = id_
if name is not Unset:
self.name = name
if description is not Unset:
self.description = description
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if submitter_name is not Unset:
self.submitter_name = submitter_name
if submitter_roles is not Unset:
@@ -189,29 +189,29 @@ def __init__(
self.job_specific_outputs = job_specific_outputs
@property
- def id(self) -> "str | Unset_Type":
- """Gets the id of this GsaJob.
+ def id_(self) -> "str | Unset_Type":
+ """Gets the id_ of this GsaJob.
Returns
-------
str | Unset_Type
- The id of this GsaJob.
+ The id_ of this GsaJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str | Unset_Type") -> None:
- """Sets the id of this GsaJob.
+ @id_.setter
+ def id_(self, id_: "str | Unset_Type") -> None:
+ """Sets the id_ of this GsaJob.
Parameters
----------
- id: str | Unset_Type
- The id of this GsaJob.
+ id_: str | Unset_Type
+ The id_ of this GsaJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
- self._id = id
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
+ self._id_ = id_
@property
def name(self) -> "str | None | Unset_Type":
@@ -258,26 +258,26 @@ def description(self, description: "str | None | Unset_Type") -> None:
self._description = description
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaJob.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaJob.
Returns
-------
str | None | Unset_Type
- The type of this GsaJob.
+ The type_ of this GsaJob.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaJob.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaJob.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaJob.
+ type_: str | None | Unset_Type
+ The type_ of this GsaJob.
"""
- self._type = type
+ self._type_ = type_
@property
def submitter_name(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_aggregation_datum_criterion.py
index a846b6923..9cf5f7e19 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"local_aggregation_criteria": "list[GsaLocalColumnAggregationCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"local_aggregation_criteria": "localAggregationCriteria",
}
@@ -86,17 +86,17 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
local_aggregation_criteria: "list[GsaLocalColumnAggregationCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaLinkAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
local_aggregation_criteria: list[GsaLocalColumnAggregationCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._local_aggregation_criteria: (
list[GsaLocalColumnAggregationCriterion] | None | Unset_Type
) = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_datum_criterion.py
index 6f44e6d4f..a928e0be6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_datum_criterion.py
@@ -69,7 +69,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"link_datum_type": "GsaLinkAttributeType",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"indirect_links": "GsaIndirectLinks",
"inner_criterion": "GsaCriterion",
"local_criterion": "GsaCriterion",
@@ -84,7 +84,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
attribute_map: dict[str, str] = {
"link_datum_type": "linkDatumType",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"inner_criterion": "innerCriterion",
"local_criterion": "localCriterion",
@@ -111,7 +111,7 @@ def __init__(
self,
*,
link_datum_type: "GsaLinkAttributeType",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
local_criterion: "GsaCriterion | Unset_Type" = Unset,
@@ -128,7 +128,7 @@ def __init__(
Parameters
----------
link_datum_type: GsaLinkAttributeType
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
indirect_links: GsaIndirectLinks, optional
inner_criterion: GsaCriterion, optional
local_criterion: GsaCriterion, optional
@@ -140,7 +140,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_exists_datum_criterion.py
index 9290a72c7..a6bf59ebb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_exists_datum_criterion.py
@@ -67,7 +67,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
"""
swagger_types: dict[str, str] = {
"target_database_key": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"indirect_links": "GsaIndirectLinks",
"link_datum_type": "GsaLinkAttributeType",
"local_rows_behavior": "GsaLocalRowsBehavior",
@@ -80,7 +80,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
attribute_map: dict[str, str] = {
"target_database_key": "targetDatabaseKey",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"link_datum_type": "linkDatumType",
"local_rows_behavior": "localRowsBehavior",
@@ -103,7 +103,7 @@ def __init__(
self,
*,
target_database_key: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
link_datum_type: "GsaLinkAttributeType | Unset_Type" = Unset,
local_rows_behavior: "GsaLocalRowsBehavior | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
target_database_key: str
- type: GsaAttributeType
+ type_: GsaAttributeType
indirect_links: GsaIndirectLinks, optional
link_datum_type: GsaLinkAttributeType, optional
local_rows_behavior: GsaLocalRowsBehavior, optional
@@ -128,7 +128,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_export_failure.py
index 45c8fc559..ac60e1f8e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_link_export_failure.py
@@ -71,14 +71,14 @@ class GsaLinkExportFailure(GsaExportFailure):
"failed_link": "GsaLinkReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_link": "failedLink",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_link: "GsaLinkReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.LINK,
+ type_: "GsaExportFailureType" = GsaExportFailureType.LINK,
) -> None:
"""GsaLinkExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_link: GsaLinkReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_link: GsaLinkReference
self.failed_link = failed_link
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_linking_value_exists_datum_criterion.py
index c93c82f01..221141913 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_linking_value_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_linking_value_exists_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"attribute_type": "GsaAttributeType",
"inner_hits_identifier": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"inner_hits_identifier": "innerHitsIdentifier",
}
@@ -88,7 +88,7 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DYNAMICLINKINGVALUE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DYNAMICLINKINGVALUE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
inner_hits_identifier: "str | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
attribute_type: GsaAttributeType, optional
inner_hits_identifier: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_type: GsaAttributeType | Unset_Type = Unset
self._inner_hits_identifier: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_boolean_criterion.py
index 609570be9..6220974eb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_boolean_criterion.py
@@ -65,13 +65,13 @@ class GsaListBooleanCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"match_all": "list[GsaListCriterion]",
"match_any": "list[GsaListCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"match_all": "matchAll",
"match_any": "matchAny",
}
@@ -86,7 +86,7 @@ class GsaListBooleanCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "listBoolean",
+ type_: "str" = "listBoolean",
match_all: "list[GsaListCriterion] | None | Unset_Type" = Unset,
match_any: "list[GsaListCriterion] | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
match_all: list[GsaListCriterion] | None, optional
match_any: list[GsaListCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._match_any: list[GsaListCriterion] | None | Unset_Type = Unset
self._match_all: list[GsaListCriterion] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_criterion.py
index 74d35a3c3..bf8f5974e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_list_criterion.py
@@ -63,11 +63,11 @@ class GsaListCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,45 +82,45 @@ class GsaListCriterion(ModelBase):
def __init__(
self,
*,
- type: "str",
+ type_: "str",
) -> None:
"""GsaListCriterion - a model defined in Swagger
Parameters
----------
- type: str
+ type_: str
"""
- self._type: str
+ self._type_: str
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "str":
- """Gets the type of this GsaListCriterion.
+ def type_(self) -> "str":
+ """Gets the type_ of this GsaListCriterion.
Returns
-------
str
- The type of this GsaListCriterion.
+ The type_ of this GsaListCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str") -> None:
- """Sets the type of this GsaListCriterion.
+ @type_.setter
+ def type_(self, type_: "str") -> None:
+ """Sets the type_ of this GsaListCriterion.
Parameters
----------
- type: str
- The type of this GsaListCriterion.
+ type_: str
+ The type_ of this GsaListCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_criterion.py
index 98d617f0c..af83aa952 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_criterion.py
@@ -67,14 +67,14 @@ class GsaLocalColumnCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -104,11 +104,11 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._local_column_criterion_type: GsaLocalColumnCriterionType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_exists_criterion.py
index 80b85bbf5..2d9ef8890 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumExistsCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumExistsCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.EXISTS,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumExistsCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_matches_criterion.py
index 6a98c4279..58e9b7d22 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.MATCHES,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_not_applicable_criterion.py
index 23a5db86b..4d858f650 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_local_column_not_applicable_criterion.py
@@ -70,14 +70,14 @@ class GsaLocalColumnNotApplicableCriterion(GsaLocalColumnCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -99,13 +99,13 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_aggregation_datum_criterion.py
index eaa29bf2e..c863e35af 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
) -> None:
"""GsaLogicalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_attribute.py
index 81f6235b3..eb4ea6545 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_attribute.py
@@ -71,7 +71,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_criterion.py
index 39f091157..06ac8cc8f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
value: "bool",
) -> None:
"""GsaLogicalDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: bool
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: bool
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_exists_criterion.py
index be5330e3e..894ee53c7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_logical_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
) -> None:
"""GsaLogicalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_sorting_value.py
index a973c3be9..8d3af0632 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_sorting_value.py
@@ -68,12 +68,12 @@ class GsaLongSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.LONG,
+ type_: "GsaSortingValueType" = GsaSortingValueType.LONG,
value: "int | Unset_Type" = Unset,
) -> None:
"""GsaLongSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_attribute.py
index 55f9a3139..081885db1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_attribute.py
@@ -71,7 +71,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_criterion.py
index 4d7aa89e7..192cf8b43 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
value: "str",
) -> None:
"""GsaLongTextDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_exists_criterion.py
index accbfd0b8..74df05dbb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
) -> None:
"""GsaLongTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_prefix_datum_criterion.py
index 7a56cc3c4..244eeb047 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_long_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaLongTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
) -> None:
"""GsaLongTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_attribute.py
index b7d8224ec..86c9cf6bb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_attribute.py
@@ -78,7 +78,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -100,7 +100,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -133,7 +133,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -157,7 +157,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -171,7 +171,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_criterion.py
index 6224b3f55..45f8d78a9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_exists_criterion.py
index e6c849302..147d6947d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_maths_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
) -> None:
"""GsaMathsFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_named_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_named_criterion.py
index d80b3ca79..e7306fcd2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_named_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_named_criterion.py
@@ -64,13 +64,13 @@ class GsaNamedCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"inner_criterion": "GsaCriterion",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"inner_criterion": "innerCriterion",
"name": "name",
}
@@ -84,7 +84,7 @@ class GsaNamedCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
+ type_: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
inner_criterion: GsaCriterion, optional
name: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str | None | Unset_Type = Unset
self._inner_criterion: GsaCriterion | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter.py
index fa2de85b7..03a94e24e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaNumericParameterValue]",
"help_path": "str",
"unit": "GsaSlimUnit",
@@ -85,7 +85,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
"unit": "unit",
@@ -110,7 +110,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaNumericParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
unit: "GsaSlimUnit | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaNumericParameterValue]
help_path: str | None, optional
unit: GsaSlimUnit, optional
@@ -136,7 +136,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._is_restricted: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_constraint.py
index cf8045ff7..8e65e8b55 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_constraint.py
@@ -69,7 +69,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
"gte": "float",
"lte": "float",
"significant_figures": "int",
@@ -77,7 +77,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
"significant_figures": "significantFigures",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
significant_figures: "int | None | Unset_Type" = Unset,
@@ -101,12 +101,12 @@ def __init__(
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
gte: float | None, optional
lte: float | None, optional
significant_figures: int | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._significant_figures: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_content.py
index 4a86769ee..e4d91e0ea 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaNumericParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_value.py
index 51209ee4f..371279586 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_numeric_parameter_value.py
@@ -69,14 +69,14 @@ class GsaNumericParameterValue(GsaParameterValue):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"name": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"value": "value",
"name": "name",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
name: str | None, optional
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter.py
index 9b683268b..cac6c4b7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter.py
@@ -67,7 +67,7 @@ class GsaParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"help_path": "str",
}
@@ -76,7 +76,7 @@ class GsaParameter(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"help_path": "helpPath",
}
@@ -98,7 +98,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaParameter - a model defined in Swagger
@@ -109,17 +109,17 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_guid = default_parameter_value_guid
@@ -128,32 +128,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameter.
Returns
-------
GsaParameterType
- The type of this GsaParameter.
+ The type_ of this GsaParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameter.
+ type_: GsaParameterType
+ The type_ of this GsaParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_constraint.py
index 42877446b..291413982 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_constraint.py
@@ -64,12 +64,12 @@ class GsaParameterConstraint(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -89,20 +89,20 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType",
+ type_: "GsaParameterConstraintType",
) -> None:
"""GsaParameterConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
"""
self._parameter: GsaObjectIdentifier
- self._type: GsaParameterConstraintType
+ self._type_: GsaParameterConstraintType
self.parameter = parameter
- self.type = type
+ self.type_ = type_
@property
def parameter(self) -> "GsaObjectIdentifier":
@@ -133,32 +133,32 @@ def parameter(self, parameter: "GsaObjectIdentifier") -> None:
self._parameter = parameter
@property
- def type(self) -> "GsaParameterConstraintType":
- """Gets the type of this GsaParameterConstraint.
+ def type_(self) -> "GsaParameterConstraintType":
+ """Gets the type_ of this GsaParameterConstraint.
Returns
-------
GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ The type_ of this GsaParameterConstraint.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterConstraintType") -> None:
- """Sets the type of this GsaParameterConstraint.
+ @type_.setter
+ def type_(self, type_: "GsaParameterConstraintType") -> None:
+ """Sets the type_ of this GsaParameterConstraint.
Parameters
----------
- type: GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ type_: GsaParameterConstraintType
+ The type_ of this GsaParameterConstraint.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_content.py
index be41040b7..1509762fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_content.py
@@ -64,12 +64,12 @@ class GsaParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaParameterContent.
+ The type_ of this GsaParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_value.py
index f26d365c5..638ee31ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_parameter_value.py
@@ -64,12 +64,12 @@ class GsaParameterValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
) -> None:
"""GsaParameterValue - a model defined in Swagger
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str
- self.type = type
+ self.type_ = type_
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaParameterValue.
+ The type_ of this GsaParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_attribute.py
index e20d5c765..dab2a3e31 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_attribute.py
@@ -71,7 +71,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_criterion.py
index 48f6162e1..60bdc8807 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
) -> None:
"""GsaPictureDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_exists_criterion.py
index 4ea6fb225..f9f619a75 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_picture_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
) -> None:
"""GsaPictureDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_aggregation_datum_criterion.py
index 76d6c6fa3..353ebe98e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
) -> None:
"""GsaPointAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_attribute.py
index d15b10407..018e6a5e4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_attribute.py
@@ -73,7 +73,7 @@ class GsaPointAttribute(GsaAttribute):
"is_multi_valued": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -90,7 +90,7 @@ class GsaPointAttribute(GsaAttribute):
"is_multi_valued": "isMultiValued",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_multi_valued: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_multi_valued: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_criterion.py
index 14c011591..106c1299b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_exists_criterion.py
index 5bf1ed17e..a07312d5b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
) -> None:
"""GsaPointDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
index 098082905..dc5230045 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_histogram_aggregation_datum_criterion.py
index 2147e91b7..c64da2bfa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_point_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaPointHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute.py
index 98d9dfc67..fd6775765 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute.py
@@ -72,7 +72,7 @@ class GsaQueryAttribute(ModelBase):
"name": "str",
"tabular_columns": "list[GsaQuerySlimNamedEntity]",
"target": "GsaQueryTabularAttributeTarget",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"unit": "GsaQueryUnit",
}
@@ -88,7 +88,7 @@ class GsaQueryAttribute(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -121,7 +121,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
tabular_columns: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTarget | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
unit: "GsaQueryUnit | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttribute - a model defined in Swagger
@@ -139,10 +139,10 @@ def __init__(
name: str | None, optional
tabular_columns: list[GsaQuerySlimNamedEntity] | None, optional
target: GsaQueryTabularAttributeTarget, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
unit: GsaQueryUnit, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._info: GsaQueryAttributeInfo | Unset_Type = Unset
@@ -156,8 +156,8 @@ def __init__(
self._name: str | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -184,29 +184,29 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQueryAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQueryAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ The type_ of this GsaQueryAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQueryAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_filter.py
index 1f2d0087b..cb23b0954 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_filter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_filter.py
@@ -61,11 +61,11 @@ class GsaQueryAttributeFilter(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "list[GsaAttributeType]",
+ "type_": "list[GsaAttributeType]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -77,42 +77,42 @@ class GsaQueryAttributeFilter(ModelBase):
def __init__(
self,
*,
- type: "list[GsaAttributeType] | None | Unset_Type" = Unset,
+ type_: "list[GsaAttributeType] | None | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeFilter - a model defined in Swagger
Parameters
----------
- type: list[GsaAttributeType] | None, optional
+ type_: list[GsaAttributeType] | None, optional
"""
- self._type: list[GsaAttributeType] | None | Unset_Type = Unset
+ self._type_: list[GsaAttributeType] | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
@property
- def type(self) -> "list[GsaAttributeType] | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeFilter.
+ def type_(self) -> "list[GsaAttributeType] | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeFilter.
Only include attributes of any of these types. Note that Tabular attributes have type: link.
Returns
-------
list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ The type_ of this GsaQueryAttributeFilter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "list[GsaAttributeType] | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeFilter.
+ @type_.setter
+ def type_(self, type_: "list[GsaAttributeType] | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeFilter.
Only include attributes of any of these types. Note that Tabular attributes have type: link.
Parameters
----------
- type: list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ type_: list[GsaAttributeType] | None | Unset_Type
+ The type_ of this GsaQueryAttributeFilter.
"""
- self._type = type
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_properties.py
index d68f31868..415ff0a14 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attribute_properties.py
@@ -72,7 +72,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "bool",
"tabular_columns": "GsaQuerySlimNamedEntityProperties",
"target": "GsaQueryTabularAttributeTargetProperties",
- "type": "bool",
+ "type_": "bool",
"unit": "GsaQueryUnitProperties",
}
@@ -88,7 +88,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -119,7 +119,7 @@ def __init__(
name: "bool | None | Unset_Type" = Unset,
tabular_columns: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTargetProperties | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
unit: "GsaQueryUnitProperties | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeProperties - a model defined in Swagger
@@ -137,10 +137,10 @@ def __init__(
name: bool | None, optional
tabular_columns: GsaQuerySlimNamedEntityProperties, optional
target: GsaQueryTabularAttributeTargetProperties, optional
- type: bool | None, optional
+ type_: bool | None, optional
unit: GsaQueryUnitProperties, optional
"""
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._default_threshold_type: bool | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._info: GsaQueryAttributeInfoProperties | Unset_Type = Unset
@@ -154,8 +154,8 @@ def __init__(
self._name: bool | None | Unset_Type = Unset
self._guid: bool | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -182,26 +182,26 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ The type_ of this GsaQueryAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQueryAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def default_threshold_type(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attributes_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attributes_request.py
index 37339fd55..adbcb35a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attributes_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_query_attributes_request.py
@@ -62,12 +62,12 @@ class GsaQueryAttributesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryAttributeProperties",
- "filter": "GsaQueryAttributeFilter",
+ "filter_": "GsaQueryAttributeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryAttributeProperties",
- filter: "GsaQueryAttributeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryAttributeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryAttributeProperties
- filter: GsaQueryAttributeFilter, optional
+ filter_: GsaQueryAttributeFilter, optional
"""
self._properties: GsaQueryAttributeProperties
- self._filter: GsaQueryAttributeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryAttributeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryAttributeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryAttributeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryAttributeFilter | Unset_Type":
- """Gets the filter of this GsaQueryAttributesRequest.
+ def filter_(self) -> "GsaQueryAttributeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryAttributesRequest.
Returns
-------
GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ The filter_ of this GsaQueryAttributesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryAttributeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryAttributesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryAttributeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryAttributesRequest.
Parameters
----------
- filter: GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ filter_: GsaQueryAttributeFilter | Unset_Type
+ The filter_ of this GsaQueryAttributesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_aggregation_datum_criterion.py
index 6582c5db8..a9cf0c2d5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
) -> None:
"""GsaRangeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_attribute.py
index 1ce3c02bc..90681961d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_attribute.py
@@ -71,7 +71,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -86,7 +86,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -109,7 +109,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -140,7 +140,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_criterion.py
index 28e76b96e..3f3644b74 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_exists_criterion.py
index e25c53985..f44df525a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
) -> None:
"""GsaRangeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
index cd627e60f..e7d7225e2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_histogram_aggregation_datum_criterion.py
index 5720535fe..6fdc17115 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_range_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaRangeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_criterion.py
index 582c3876e..0ec00c86c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordAncestorCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_identity": "int",
"direct_parent_only": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"ancestor_identity": "ancestorIdentity",
"direct_parent_only": "directParentOnly",
}
@@ -82,7 +82,7 @@ class GsaRecordAncestorCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
ancestor_identity: "int | None | Unset_Type" = Unset,
direct_parent_only: "bool | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_identity: int | None, optional
direct_parent_only: bool | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_identity: int | None | Unset_Type = Unset
self._direct_parent_only: bool | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_history_identities_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_history_identities_criterion.py
index 1b317cc2e..e178d79f5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_history_identities_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_ancestor_history_identities_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordAncestorHistoryIdentitiesCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_history_identities": "list[int]",
"database_key": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"ancestor_history_identities": "ancestorHistoryIdentities",
"database_key": "databaseKey",
}
@@ -82,7 +82,7 @@ class GsaRecordAncestorHistoryIdentitiesCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORIDENTITIES,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORIDENTITIES,
ancestor_history_identities: "list[int] | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_history_identities: list[int] | None, optional
database_key: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_history_identities: list[int] | None | Unset_Type = Unset
self._database_key: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_export_failure.py
index d536c8219..a40747768 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_export_failure.py
@@ -71,14 +71,14 @@ class GsaRecordExportFailure(GsaExportFailure):
"failed_records": "list[GsaRecordReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_records": "failedRecords",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_records: "list[GsaRecordReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.RECORD,
+ type_: "GsaExportFailureType" = GsaExportFailureType.RECORD,
) -> None:
"""GsaRecordExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_records: list[GsaRecordReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_records: list[GsaRecordReference]
self.failed_records = failed_records
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_link_group.py
index 744d89a78..cbba1c4a2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_link_group.py
@@ -68,7 +68,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -79,7 +79,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -105,7 +105,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,13 +118,13 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._link_info: GsaLinkInfo
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -134,7 +134,7 @@ def __init__(
self.link_info = link_info
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -193,32 +193,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ The type_ of this GsaRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_member_criterion.py
index 8a90bd24b..443443020 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_member_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_member_criterion.py
@@ -64,12 +64,12 @@ class GsaRecordListMemberCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_list_identifiers": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"record_list_identifiers": "recordListIdentifiers",
}
@@ -80,17 +80,17 @@ class GsaRecordListMemberCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
record_list_identifiers: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordListMemberCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
record_list_identifiers: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._record_list_identifiers: list[str] | None | Unset_Type = Unset
if record_list_identifiers is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_search_criterion.py
index afbe75ca8..7cfe1b25c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_search_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_list_search_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"contains_records": "list[str]",
"contains_records_in_databases": "list[str]",
"contains_records_in_integration_schemas": "list[str]",
@@ -80,7 +80,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"contains_records": "containsRecords",
"contains_records_in_databases": "containsRecordsInDatabases",
"contains_records_in_integration_schemas": "containsRecordsInIntegrationSchemas",
@@ -103,7 +103,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "recordList",
+ type_: "str" = "recordList",
contains_records: "list[str] | None | Unset_Type" = Unset,
contains_records_in_databases: "list[str] | None | Unset_Type" = Unset,
contains_records_in_integration_schemas: "list[str] | None | Unset_Type" = Unset,
@@ -120,7 +120,7 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
contains_records: list[str] | None, optional
contains_records_in_databases: list[str] | None, optional
contains_records_in_integration_schemas: list[str] | None, optional
@@ -133,7 +133,7 @@ def __init__(
user_can_add_or_remove_items: bool | None, optional
user_role: GsaUserRole, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name_contains: str | None | Unset_Type = Unset
self._user_role: GsaUserRole | Unset_Type = Unset
self._is_published: bool | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_criterion.py
index ebebd6fc3..e251449dc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_criterion.py
@@ -65,14 +65,14 @@ class GsaRecordPropertyCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaCriterionType",
+ "property_": "GsaSearchableRecordProperty",
}
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
}
subtype_mapping: dict[str, str] = {
@@ -86,49 +86,49 @@ def __init__(
self,
*,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
) -> None:
"""GsaRecordPropertyCriterion - a model defined in Swagger
Parameters
----------
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaCriterionType
+ property_: GsaSearchableRecordProperty, optional
"""
- super().__init__(type=type)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._inner_criterion: GsaDatumCriterion
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
self.inner_criterion = inner_criterion
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertyCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertyCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ The property_ of this GsaRecordPropertyCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertyCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertyCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertyCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def inner_criterion(self) -> "GsaDatumCriterion":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_sort_criterion.py
index 0be8ed75d..fe5d8ee0b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_property_sort_criterion.py
@@ -68,15 +68,15 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaSortCriterionType",
+ "property_": "GsaSearchableRecordProperty",
"sort_direction": "GsaSortDirection",
"sort_type": "GsaSortType",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
"sort_direction": "sortDirection",
"sort_type": "sortType",
}
@@ -91,8 +91,8 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
sort_type: "GsaSortType | Unset_Type" = Unset,
) -> None:
@@ -100,44 +100,44 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaSortCriterionType
+ property_: GsaSearchableRecordProperty, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_, sort_direction=sort_direction)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._sort_type: GsaSortType | Unset_Type = Unset
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
if sort_type is not Unset:
self.sort_type = sort_type
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertySortCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertySortCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ The property_ of this GsaRecordPropertySortCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertySortCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertySortCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertySortCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def sort_type(self) -> "GsaSortType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_reference_criterion.py
index c249580d1..33c725b70 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_reference_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_reference_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_guid": "str",
"record_history_guid": "str",
"record_history_identity": "int",
@@ -74,7 +74,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "type": "type",
+ "type_": "type",
"record_guid": "recordGuid",
"record_history_guid": "recordHistoryGuid",
"record_history_identity": "recordHistoryIdentity",
@@ -89,7 +89,7 @@ def __init__(
self,
*,
database_key: "str",
- type: "GsaCriterionType" = GsaCriterionType.REFERENCE,
+ type_: "GsaCriterionType" = GsaCriterionType.REFERENCE,
record_guid: "str | None | Unset_Type" = Unset,
record_history_guid: "str | None | Unset_Type" = Unset,
record_history_identity: "int | None | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
database_key: str
- type: GsaCriterionType
+ type_: GsaCriterionType
record_guid: str | None, optional
record_history_guid: str | None, optional
record_history_identity: int | None, optional
record_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._database_key: str
self._record_identity: int | None | Unset_Type = Unset
self._record_history_identity: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_subset_criterion.py
index 359eec434..54473d8f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_subset_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_record_subset_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordSubsetCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"subset_guid": "str",
"subset_identity": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"subset_guid": "subsetGuid",
"subset_identity": "subsetIdentity",
}
@@ -82,7 +82,7 @@ class GsaRecordSubsetCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.SUBSET,
+ type_: "GsaCriterionType" = GsaCriterionType.SUBSET,
subset_guid: "str | None | Unset_Type" = Unset,
subset_identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
subset_guid: str | None, optional
subset_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._subset_identity: int | None | Unset_Type = Unset
self._subset_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_relevance_sort_criterion.py
index 7559848d2..6834a31dd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_relevance_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_relevance_sort_criterion.py
@@ -68,12 +68,12 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -84,17 +84,17 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaRelevanceSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_resolved_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_resolved_link.py
index 1630bdea1..5728df8ae 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_resolved_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_resolved_link.py
@@ -66,7 +66,7 @@ class GsaResolvedLink(ModelBase):
"link_info": "GsaResolvedLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -77,7 +77,7 @@ class GsaResolvedLink(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -97,7 +97,7 @@ def __init__(
link_info: "GsaResolvedLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType",
+ type_: "GsaLinkAttributeType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -110,12 +110,12 @@ def __init__(
link_info: GsaResolvedLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaLinkAttributeType
+ self._type_: GsaLinkAttributeType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._link_info: GsaResolvedLinkInfo
@@ -125,7 +125,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -157,32 +157,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaLinkAttributeType":
- """Gets the type of this GsaResolvedLink.
+ def type_(self) -> "GsaLinkAttributeType":
+ """Gets the type_ of this GsaResolvedLink.
Returns
-------
GsaLinkAttributeType
- The type of this GsaResolvedLink.
+ The type_ of this GsaResolvedLink.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaLinkAttributeType") -> None:
- """Sets the type of this GsaResolvedLink.
+ @type_.setter
+ def type_(self, type_: "GsaLinkAttributeType") -> None:
+ """Sets the type_ of this GsaResolvedLink.
Parameters
----------
- type: GsaLinkAttributeType
- The type of this GsaResolvedLink.
+ type_: GsaLinkAttributeType
+ The type_ of this GsaResolvedLink.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rich_text_value.py
index dda192d83..c9064965c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rich_text_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rich_text_value.py
@@ -62,12 +62,12 @@ class GsaRichTextValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"text": "str",
- "type": "GsaRichTextType",
+ "type_": "GsaRichTextType",
}
attribute_map: dict[str, str] = {
"text": "text",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -80,20 +80,20 @@ def __init__(
self,
*,
text: "str",
- type: "GsaRichTextType",
+ type_: "GsaRichTextType",
) -> None:
"""GsaRichTextValue - a model defined in Swagger
Parameters
----------
text: str
- type: GsaRichTextType
+ type_: GsaRichTextType
"""
self._text: str
- self._type: GsaRichTextType
+ self._type_: GsaRichTextType
self.text = text
- self.type = type
+ self.type_ = type_
@property
def text(self) -> "str":
@@ -124,32 +124,32 @@ def text(self, text: "str") -> None:
self._text = text
@property
- def type(self) -> "GsaRichTextType":
- """Gets the type of this GsaRichTextValue.
+ def type_(self) -> "GsaRichTextType":
+ """Gets the type_ of this GsaRichTextValue.
Returns
-------
GsaRichTextType
- The type of this GsaRichTextValue.
+ The type_ of this GsaRichTextValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRichTextType") -> None:
- """Sets the type of this GsaRichTextValue.
+ @type_.setter
+ def type_(self, type_: "GsaRichTextType") -> None:
+ """Sets the type_ of this GsaRichTextValue.
Parameters
----------
- type: GsaRichTextType
- The type of this GsaRichTextValue.
+ type_: GsaRichTextType
+ The type_ of this GsaRichTextValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rollup_export_failure.py
index 451a26b34..8cc7ba3de 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rollup_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_rollup_export_failure.py
@@ -71,14 +71,14 @@ class GsaRollupExportFailure(GsaExportFailure):
"failed_rollup": "GsaRollupReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_rollup": "failedRollup",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_rollup: "GsaRollupReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
) -> None:
"""GsaRollupExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_rollup: GsaRollupReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_rollup: GsaRollupReference
self.failed_rollup = failed_rollup
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_search_result.py
index 3e0cfeae1..4149ab49e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_search_result.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_search_result.py
@@ -75,7 +75,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "str",
"table_identity": "int",
"tree_name": "str",
- "type": "GsaRecordType",
+ "type_": "GsaRecordType",
"version_control_state": "str",
"version_number": "int",
}
@@ -95,7 +95,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "tableGuid",
"table_identity": "tableIdentity",
"tree_name": "treeName",
- "type": "type",
+ "type_": "type",
"version_control_state": "versionControlState",
"version_number": "versionNumber",
}
@@ -124,7 +124,7 @@ def __init__(
table_guid: "str | Unset_Type" = Unset,
table_identity: "int | Unset_Type" = Unset,
tree_name: "str | None | Unset_Type" = Unset,
- type: "GsaRecordType | Unset_Type" = Unset,
+ type_: "GsaRecordType | Unset_Type" = Unset,
version_control_state: "str | None | Unset_Type" = Unset,
version_number: "int | Unset_Type" = Unset,
) -> None:
@@ -146,7 +146,7 @@ def __init__(
table_guid: str, optional
table_identity: int, optional
tree_name: str | None, optional
- type: GsaRecordType, optional
+ type_: GsaRecordType, optional
version_control_state: str | None, optional
version_number: int, optional
"""
@@ -164,7 +164,7 @@ def __init__(
self._version_control_state: str | None | Unset_Type = Unset
self._version_number: int | Unset_Type = Unset
self._parent_identity: int | None | Unset_Type = Unset
- self._type: GsaRecordType | Unset_Type = Unset
+ self._type_: GsaRecordType | Unset_Type = Unset
self._score: float | None | Unset_Type = Unset
self._sorting_value: GsaSortingValue | Unset_Type = Unset
@@ -195,8 +195,8 @@ def __init__(
self.version_number = version_number
if parent_identity is not Unset:
self.parent_identity = parent_identity
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if score is not Unset:
self.score = score
if sorting_value is not Unset:
@@ -532,29 +532,29 @@ def parent_identity(self, parent_identity: "int | None | Unset_Type") -> None:
self._parent_identity = parent_identity
@property
- def type(self) -> "GsaRecordType | Unset_Type":
- """Gets the type of this GsaSearchResult.
+ def type_(self) -> "GsaRecordType | Unset_Type":
+ """Gets the type_ of this GsaSearchResult.
Returns
-------
GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ The type_ of this GsaSearchResult.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordType | Unset_Type") -> None:
- """Sets the type of this GsaSearchResult.
+ @type_.setter
+ def type_(self, type_: "GsaRecordType | Unset_Type") -> None:
+ """Sets the type_ of this GsaSearchResult.
Parameters
----------
- type: GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ type_: GsaRecordType | Unset_Type
+ The type_ of this GsaSearchResult.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def score(self) -> "float | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_aggregation_datum_criterion.py
index 1a7440a3f..880c3dbe4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_attribute.py
index 1797b9c0d..65a84ef3b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_attribute.py
@@ -72,7 +72,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"data_rule": "GsaSlimNamedEntity",
@@ -88,7 +88,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -112,7 +112,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
data_rule: "GsaSlimNamedEntity | Unset_Type" = Unset,
@@ -130,7 +130,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
data_rule: GsaSlimNamedEntity, optional
@@ -144,7 +144,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_criterion.py
index d3fdd0f68..f8982b508 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_exists_criterion.py
index b82372b7b..a7b04d025 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
) -> None:
"""GsaShortTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_prefix_datum_criterion.py
index ffab8d020..6c7642ab8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_short_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaShortTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
) -> None:
"""GsaShortTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_attribute.py
index 3c389fc5c..10bead26f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_attribute.py
@@ -66,7 +66,7 @@ class GsaSlimAttribute(ModelBase):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
}
@@ -76,7 +76,7 @@ class GsaSlimAttribute(ModelBase):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
}
@@ -96,7 +96,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
) -> None:
"""GsaSlimAttribute - a model defined in Swagger
@@ -108,10 +108,10 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._table: GsaSlimEntity
@@ -119,7 +119,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -129,32 +129,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttribute.
+ The type_ of this GsaSlimAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_parameter.py
index ad5bbdee1..6ba7260f1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_parameter.py
@@ -64,14 +64,14 @@ class GsaSlimParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaSlimParameter - a model defined in Swagger
@@ -95,45 +95,45 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameter.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameter.
+ The type_ of this GsaSlimParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameter.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_record_link_group.py
index 7f4bfe06e..12d597888 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_record_link_group.py
@@ -65,7 +65,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "str",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -75,7 +75,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -93,7 +93,7 @@ def __init__(
guid: "str",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -105,12 +105,12 @@ def __init__(
guid: str
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -119,7 +119,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -150,32 +150,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaSlimRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaSlimRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ The type_ of this GsaSlimRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaSlimRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaSlimRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaSlimRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_typed_attribute.py
index 25dedd3fd..38a4352e4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_slim_typed_attribute.py
@@ -63,13 +63,13 @@ class GsaSlimTypedAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -83,7 +83,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaSlimTypedAttribute - a model defined in Swagger
@@ -91,43 +91,43 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimTypedAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ The type_ of this GsaSlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sort_criterion.py
index 0c87eb490..992848ef8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sort_criterion.py
@@ -63,12 +63,12 @@ class GsaSortCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -88,22 +88,22 @@ class GsaSortCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaSortCriterionType",
+ type_: "GsaSortCriterionType",
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
self._sort_direction: GsaSortDirection | Unset_Type = Unset
- self._type: GsaSortCriterionType
+ self._type_: GsaSortCriterionType
if sort_direction is not Unset:
self.sort_direction = sort_direction
- self.type = type
+ self.type_ = type_
@property
def sort_direction(self) -> "GsaSortDirection | Unset_Type":
@@ -131,32 +131,32 @@ def sort_direction(self, sort_direction: "GsaSortDirection | Unset_Type") -> Non
self._sort_direction = sort_direction
@property
- def type(self) -> "GsaSortCriterionType":
- """Gets the type of this GsaSortCriterion.
+ def type_(self) -> "GsaSortCriterionType":
+ """Gets the type_ of this GsaSortCriterion.
Returns
-------
GsaSortCriterionType
- The type of this GsaSortCriterion.
+ The type_ of this GsaSortCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortCriterionType") -> None:
- """Sets the type of this GsaSortCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaSortCriterionType") -> None:
+ """Sets the type_ of this GsaSortCriterion.
Parameters
----------
- type: GsaSortCriterionType
- The type of this GsaSortCriterion.
+ type_: GsaSortCriterionType
+ The type_ of this GsaSortCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sorting_value.py
index 70a059090..5dc7d0685 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_sorting_value.py
@@ -63,11 +63,11 @@ class GsaSortingValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,45 +85,45 @@ class GsaSortingValue(ModelBase):
def __init__(
self,
*,
- type: "GsaSortingValueType",
+ type_: "GsaSortingValueType",
) -> None:
"""GsaSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
"""
- self._type: GsaSortingValueType
+ self._type_: GsaSortingValueType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaSortingValueType":
- """Gets the type of this GsaSortingValue.
+ def type_(self) -> "GsaSortingValueType":
+ """Gets the type_ of this GsaSortingValue.
Returns
-------
GsaSortingValueType
- The type of this GsaSortingValue.
+ The type_ of this GsaSortingValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortingValueType") -> None:
- """Sets the type of this GsaSortingValue.
+ @type_.setter
+ def type_(self, type_: "GsaSortingValueType") -> None:
+ """Sets the type_ of this GsaSortingValue.
Parameters
----------
- type: GsaSortingValueType
- The type of this GsaSortingValue.
+ type_: GsaSortingValueType
+ The type_ of this GsaSortingValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_static_record_link_group.py
index d2435aad6..44672fa73 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_static_record_link_group.py
@@ -74,7 +74,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_string_sorting_value.py
index 8cefb9b80..793ba5325 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_string_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_string_sorting_value.py
@@ -68,12 +68,12 @@ class GsaStringSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaStringSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.TEXT,
+ type_: "GsaSortingValueType" = GsaSortingValueType.TEXT,
value: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaStringSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_attribute.py
index fecc14bb4..ee18356b7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_attribute.py
@@ -75,7 +75,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "str",
"table": "GsaSlimEntity",
"tabular_columns": "list[GsaTabularColumn]",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "str",
"help_path": "str",
@@ -94,7 +94,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "name",
"table": "table",
"tabular_columns": "tabularColumns",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -122,7 +122,7 @@ def __init__(
name: "str",
table: "GsaSlimEntity",
tabular_columns: "list[GsaTabularColumn]",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -143,7 +143,7 @@ def __init__(
name: str
table: GsaSlimEntity
tabular_columns: list[GsaTabularColumn]
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: str | None, optional
help_path: str | None, optional
@@ -157,7 +157,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_datum_exists_criterion.py
index 37500e136..b9c071d92 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.TABULAR,
+ type_: "GsaAttributeType" = GsaAttributeType.TABULAR,
) -> None:
"""GsaTabularDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_linking_value_criterion.py
index c96e6efa4..b56c1ebd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_linking_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_tabular_linking_value_criterion.py
@@ -64,13 +64,13 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"values": "list[str]",
"linking_value_match_behavior": "GsaLinkingValueMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"values": "values",
"linking_value_match_behavior": "linkingValueMatchBehavior",
}
@@ -84,7 +84,7 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
+ type_: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
values: "list[str]",
linking_value_match_behavior: "GsaLinkingValueMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
values: list[str]
linking_value_match_behavior: GsaLinkingValueMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._values: list[str]
self._linking_value_match_behavior: GsaLinkingValueMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_attribute.py
index 18e301111..ea7965ff0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_attribute.py
@@ -63,7 +63,7 @@ class GsaUpdateAttribute(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -74,7 +74,7 @@ class GsaUpdateAttribute(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -113,7 +113,7 @@ class GsaUpdateAttribute(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -135,7 +135,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
name: str, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._axis_name: str | None | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
@@ -144,7 +144,7 @@ def __init__(
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if axis_name is not Unset:
@@ -161,32 +161,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaUpdateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaUpdateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaUpdateAttribute.
+ The type_ of this GsaUpdateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaUpdateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaUpdateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaUpdateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaUpdateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_cross_database_record_link_group.py
index f02afd05c..b0f7979be 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_cross_database_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_date_time_attribute.py
index 5dec8eac9..1aed6e56f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_date_time_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_attribute.py
index 923c3144d..be9a815bb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute.py
index 78eca0a5c..4be1e2f7a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]",
"axis_name": "str",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -98,7 +98,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateDiscreteFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional
axis_name: str | None, optional
@@ -123,7 +123,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
index e5cf53208..103e263fe 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
index c348b3121..0b31a6785 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_parameter.py
index d96e75055..2874b3351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter.py
index 45a8a7cda..0c7002438 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -74,7 +74,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -88,7 +88,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -98,14 +98,14 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_content.py
index 1c117a8b0..7935e6d2e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateDiscreteParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaUpdateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaUpdateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_value.py
index 98f8482d9..d823f8c05 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_discrete_parameter_value.py
@@ -68,13 +68,13 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
}
@@ -86,7 +86,7 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str | Unset_Type = Unset
if name is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_dynamic_record_link_group.py
index 9b7e8e6ac..ef6ecfaf3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_dynamic_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"attribute_pairs": "list[GsaCreateAttributeLinkPair]",
"forbid_orphans": "bool",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_pairs": "attributePairs",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
@@ -97,7 +97,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" = Unset,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -109,7 +109,7 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
attribute_pairs: list[GsaCreateAttributeLinkPair], optional
forbid_orphans: bool, optional
guid: str, optional
@@ -117,7 +117,7 @@ def __init__(
referential_integrity_model: GsaReferentialIntegrityModel, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
self._attribute_pairs: list[GsaCreateAttributeLinkPair] | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_file_attribute.py
index 174993e85..27f08ea4b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_file_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute.py
index b4c835aee..c79788b9c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]",
"axis_name": "str",
@@ -80,7 +80,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -103,7 +103,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateFloatFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional
axis_name: str | None, optional
@@ -132,7 +132,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
index 537994d6d..3b96ee986 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
index 8a844ec3c..1be705bdf 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_parameter.py
index b83dc1c03..f8b7c0f8a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_hyperlink_attribute.py
index 6b6884717..88b083fed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_hyperlink_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_integer_attribute.py
index ed8150694..405b38d64 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_integer_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_logical_attribute.py
index 6034f86d9..24c588742 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_logical_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_long_text_attribute.py
index ea48edf74..fd0c8c76d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_long_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_maths_functional_attribute.py
index 1f485080b..4aa98effb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_maths_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
@@ -85,7 +85,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
@@ -115,7 +115,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
@@ -136,7 +136,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
@@ -154,7 +154,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter.py
index 5356c841f..910f10334 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -77,7 +77,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -98,7 +98,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
@@ -121,7 +121,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_content.py
index df365644d..445808bd0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateNumericParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaUpdateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaUpdateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_value.py
index 0911c7709..ef7139b67 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"value": "value",
@@ -88,7 +88,7 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
value: "float | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str | None, optional
value: float, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter.py
index b5562929a..8bb770ce5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter.py
@@ -63,7 +63,7 @@ class GsaUpdateParameter(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -71,7 +71,7 @@ class GsaUpdateParameter(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -92,7 +92,7 @@ class GsaUpdateParameter(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterType",
+ type_: "GsaParameterType",
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,19 +102,19 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
name: str, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
if default_parameter_value_guid is not Unset:
@@ -125,32 +125,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameter.
+ The type_ of this GsaUpdateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_content.py
index 1848c7964..f3c032bda 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_content.py
@@ -64,12 +64,12 @@ class GsaUpdateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameterContent.
+ The type_ of this GsaUpdateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_value.py
index 1d0863d09..6ac267436 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_parameter_value.py
@@ -63,12 +63,12 @@ class GsaUpdateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaUpdateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaUpdateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaUpdateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaUpdateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ The type_ of this GsaUpdateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaUpdateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaUpdateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaUpdateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_picture_attribute.py
index aec3c94cb..d45ea939b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_picture_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_point_attribute.py
index a04797835..97fd6da14 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_point_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "str",
@@ -80,7 +80,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -103,7 +103,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: str | None, optional
@@ -132,7 +132,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_range_attribute.py
index fe1fb0d63..27efe4f26 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_range_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -98,7 +98,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -123,7 +123,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_record_link_group.py
index 9965a279e..3cc79158b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_record_link_group.py
@@ -63,14 +63,14 @@ class GsaUpdateRecordLinkGroup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"name": "str",
"reverse_name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
@@ -91,7 +91,7 @@ class GsaUpdateRecordLinkGroup(ModelBase):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
reverse_name: "str | Unset_Type" = Unset,
@@ -100,17 +100,17 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
name: str, optional
reverse_name: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if reverse_name is not Unset:
self.reverse_name = reverse_name
if name is not Unset:
@@ -119,32 +119,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaUpdateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaUpdateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaUpdateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaUpdateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_short_text_attribute.py
index dbf71df1c..abfafab92 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_short_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"data_rule": "GsaSlimEntity",
@@ -79,7 +79,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -100,7 +100,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
data_rule: GsaSlimEntity, optional
@@ -127,7 +127,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_static_record_link_group.py
index b993f77c6..07722ed57 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_static_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_tabular_attribute.py
index b3a52f33b..0dc59bbd3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r1/models/gsa_update_tabular_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "str",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -81,7 +81,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -104,7 +104,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "str | None | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: str | None, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -135,7 +135,7 @@ def __init__(
tabular_columns: list[GsaUpdateTabularColumn] | None, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/job_queue_api.py
index f443d2f9b..1922c8331 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/job_queue_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/job_queue_api.py
@@ -120,24 +120,24 @@ def _create_job_with_http_info(
response_type_map=response_type_map,
)
- def delete_job(self, *, id: "str") -> "None":
+ def delete_job(self, *, id_: "str") -> "None":
"""Delete a job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._delete_job_with_http_info(id, _return_http_data_only=True)
+ data = self._delete_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _delete_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -145,15 +145,15 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'delete_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'delete_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -319,24 +319,24 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job(self, *, id: "str") -> "GsaJob | None":
+ def get_job(self, *, id_: "str") -> "GsaJob | None":
"""Get job by ID.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaJob | None
"""
- data = self._get_job_with_http_info(id, _return_http_data_only=True)
+ data = self._get_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -344,15 +344,15 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'get_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'get_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -388,28 +388,28 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job_output_file(self, *, id: "str", file_name: "str") -> "None | str":
+ def get_job_output_file(self, *, id_: "str", file_name: "str") -> "None | str":
"""Retrieve a job output file.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
file_name: str
Returns
-------
None | str
"""
- data = self._get_job_output_file_with_http_info(id, file_name, _return_http_data_only=True)
+ data = self._get_job_output_file_with_http_info(id_, file_name, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _get_job_output_file_with_http_info(
- self, id: "str", file_name: "str", **kwargs: Any
+ self, id_: "str", file_name: "str", **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"file_name",
"_return_http_data_only",
"_preload_content",
@@ -424,10 +424,10 @@ def _get_job_output_file_with_http_info(
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_job_output_file'"
+ "Missing the required parameter 'id_' when calling 'get_job_output_file'"
)
# verify the required parameter "file_name" is set
if "file_name" not in params or params["file_name"] is None:
@@ -438,8 +438,8 @@ def _get_job_output_file_with_http_info(
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
if "file_name" in params and file_name is not None:
@@ -598,24 +598,24 @@ def _get_jobs_with_http_info(
response_type_map=response_type_map,
)
- def get_output_filenames(self, *, id: "str") -> "None | list[str]":
+ def get_output_filenames(self, *, id_: "str") -> "None | list[str]":
"""Get a job's output filenames.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None | list[str]
"""
- data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True)
+ data = self._get_output_filenames_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_output_filenames_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -625,17 +625,17 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_output_filenames'"
+ "Missing the required parameter 'id_' when calling 'get_output_filenames'"
)
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -732,24 +732,24 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def move_to_top(self, *, id: "str") -> "None":
+ def move_to_top(self, *, id_: "str") -> "None":
"""Move a job to the top of the queue (actually sets the scheduled execution date to now, could be done with patch method).
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._move_to_top_with_http_info(id, _return_http_data_only=True)
+ data = self._move_to_top_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _move_to_top_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -757,15 +757,15 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method move_to_top")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'move_to_top'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -797,24 +797,24 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def restore_job(self, *, id: "str") -> "GsaCreateJobRequest | None":
+ def restore_job(self, *, id_: "str") -> "GsaCreateJobRequest | None":
"""Get a job creation object based on an existing job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaCreateJobRequest | None
"""
- data = self._restore_job_with_http_info(id, _return_http_data_only=True)
+ data = self._restore_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _restore_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -822,15 +822,15 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method restore_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'restore_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'restore_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -867,7 +867,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
def resubmit(
- self, *, id: "str", body: "Optional[GsaResubmitJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None
) -> "GsaJob | None":
"""Resubmit a job.
@@ -875,21 +875,21 @@ def resubmit(
Parameters
----------
- id: str
+ id_: str
body: GsaResubmitJobRequest
Returns
-------
GsaJob | None
"""
- data = self._resubmit_with_http_info(id, body, _return_http_data_only=True)
+ data = self._resubmit_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _resubmit_with_http_info(
- self, id: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -902,15 +902,15 @@ def _resubmit_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method resubmit")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'resubmit'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'resubmit'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -954,7 +954,7 @@ def _resubmit_with_http_info(
)
def update_job(
- self, *, id: "str", body: "Optional[GsaUpdateJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None
) -> "GsaJob | None":
"""Update a job.
@@ -962,21 +962,21 @@ def update_job(
Parameters
----------
- id: str
+ id_: str
body: GsaUpdateJobRequest
Returns
-------
GsaJob | None
"""
- data = self._update_job_with_http_info(id, body, _return_http_data_only=True)
+ data = self._update_job_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _update_job_with_http_info(
- self, id: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -989,15 +989,15 @@ def _update_job_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'update_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'update_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/schema___tables_api.py
index 39b41e94b..896b23f20 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/schema___tables_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/api/schema___tables_api.py
@@ -330,7 +330,7 @@ def get_inbound_links(
*,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
) -> "GsaLinksInfo | None":
@@ -342,7 +342,7 @@ def get_inbound_links(
----------
database_key: str
table_guid: str
- type: list[GsaLinkAttributeType]
+ type_: list[GsaLinkAttributeType]
The link types to include in the response. If not provided, all link types are included.
mode: str
The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.
@@ -354,7 +354,7 @@ def get_inbound_links(
GsaLinksInfo | None
"""
data = self._get_inbound_links_with_http_info(
- database_key, table_guid, type, mode, x_ansys_vc_mode, _return_http_data_only=True
+ database_key, table_guid, type_, mode, x_ansys_vc_mode, _return_http_data_only=True
)
return data # type: ignore[no-any-return]
@@ -362,7 +362,7 @@ def _get_inbound_links_with_http_info(
self,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
**kwargs: Any,
@@ -370,7 +370,7 @@ def _get_inbound_links_with_http_info(
all_params = [
"database_key",
"table_guid",
- "type",
+ "type_",
"mode",
"x_ansys_vc_mode",
"_return_http_data_only",
@@ -406,8 +406,8 @@ def _get_inbound_links_with_http_info(
path_params["table-guid"] = params["table_guid"]
query_params: list[Any] = []
- if "type" in params and type is not None:
- query_params.append(("type", params["type"]))
+ if "type_" in params and type_ is not None:
+ query_params.append(("type", params["type_"]))
collection_formats["type"] = "multi"
if "mode" in params and mode is not None:
query_params.append(("mode", params["mode"]))
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation.py
index b74486ef8..a6e56f2f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation.py
@@ -63,11 +63,11 @@ class GsaAggregation(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregation(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregation - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregation.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregation.
Returns
-------
GsaAggregationType
- The type of this GsaAggregation.
+ The type_ of this GsaAggregation.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregation.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregation.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregation.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregation.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_criterion.py
index 3351e9506..ba377ad6a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregationCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregationCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregationCriterion.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregationCriterion.
Returns
-------
GsaAggregationType
- The type of this GsaAggregationCriterion.
+ The type_ of this GsaAggregationCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregationCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregationCriterion.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregationCriterion.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregationCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_criterion.py
index 7a370a5be..def10253f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -100,45 +100,45 @@ class GsaAggregationDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType",
+ type_: "GsaAggregationDatumCriterionType",
) -> None:
"""GsaAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- self._type: GsaAggregationDatumCriterionType
+ self._type_: GsaAggregationDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationDatumCriterionType":
- """Gets the type of this GsaAggregationDatumCriterion.
+ def type_(self) -> "GsaAggregationDatumCriterionType":
+ """Gets the type_ of this GsaAggregationDatumCriterion.
Returns
-------
GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ The type_ of this GsaAggregationDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationDatumCriterionType") -> None:
- """Sets the type of this GsaAggregationDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationDatumCriterionType") -> None:
+ """Sets the type_ of this GsaAggregationDatumCriterion.
Parameters
----------
- type: GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ type_: GsaAggregationDatumCriterionType
+ The type_ of this GsaAggregationDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_exists_criterion.py
index 03b4a3000..ee8620979 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_aggregation_datum_exists_criterion.py
@@ -61,11 +61,11 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -77,43 +77,43 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaAggregationDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaAggregationDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaAggregationDatumExistsCriterion.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaAggregationDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaAggregationDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute.py
index 40ee400a7..6443bbf40 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute.py
@@ -70,7 +70,7 @@ class GsaAttribute(ModelBase):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -84,7 +84,7 @@ class GsaAttribute(ModelBase):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -129,7 +129,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -145,7 +145,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -154,7 +154,7 @@ def __init__(
self._axis_name: GsaAxisName | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._info: GsaAttributeInfo
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._table: GsaSlimEntity
@@ -168,7 +168,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
self.info = info
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -281,32 +281,32 @@ def info(self, info: "GsaAttributeInfo") -> None:
self._info = info
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaAttribute.
+ The type_ of this GsaAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation.py
index 693ddbe2d..3f396b00b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregation(GsaAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -77,7 +77,7 @@ class GsaAttributeAggregation(GsaAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_identity: int | None | Unset_Type = Unset
self._attribute_guid: str | None | Unset_Type = Unset
self._attribute_aggregation_type: GsaAttributeAggregationType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_criterion.py
index 6a37b570c..14a939c55 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_criterion.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -77,7 +77,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_exists_criterion.py
index 7f72b0d12..66fca610f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
"inner_criterion": "GsaAggregationDatumExistsCriterion",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
inner_criterion: "GsaAggregationDatumExistsCriterion",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
inner_criterion: GsaAggregationDatumExistsCriterion
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_value_criterion.py
index 2154ddbbe..bcd53adf5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_aggregation_value_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"inner_criterion": "GsaAggregationDatumCriterion",
@@ -79,7 +79,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"inner_criterion": "innerCriterion",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
inner_criterion: "GsaAggregationDatumCriterion | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
inner_criterion: GsaAggregationDatumCriterion, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_criterion.py
index 15fca81e8..6d2b35f4d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_criterion.py
@@ -67,7 +67,7 @@ class GsaAttributeCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -75,7 +75,7 @@ class GsaAttributeCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -107,12 +107,12 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_aggregation.py
index a8c4a30a6..055cd1ef7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_criterion.py
index 49f93ca15..48bd70f3d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumExistsCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.EXISTS,
inner_criterion: "GsaDatumExistsCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumExistsCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_export_failure.py
index 585417bc7..d359de7ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_export_failure.py
@@ -71,14 +71,14 @@ class GsaAttributeExportFailure(GsaExportFailure):
"failed_attributes": "list[GsaAttributeReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_attributes": "failedAttributes",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_attributes: "list[GsaAttributeReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
) -> None:
"""GsaAttributeExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_attributes: list[GsaAttributeReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_attributes: list[GsaAttributeReference]
self.failed_attributes = failed_attributes
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_matches_criterion.py
index 4742be97a..859ec4bfe 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.MATCHES,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_not_applicable_criterion.py
index fb8528c6c..0b657fc8a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_not_applicable_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -78,7 +78,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_sort_criterion.py
index e31d0a127..d01482071 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_sort_criterion.py
@@ -68,7 +68,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"attribute_type": "GsaAttributeType",
"guid": "str",
"identity": "int",
@@ -77,7 +77,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"guid": "guid",
"identity": "identity",
@@ -95,7 +95,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
@@ -106,14 +106,14 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
attribute_type: GsaAttributeType, optional
guid: str | None, optional
identity: int | None, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._attribute_type: GsaAttributeType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_value_aggregation.py
index 7491685a7..119522dba 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_value_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_attribute_value_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"aggregation_datum": "GsaAggregationDatum",
"attribute_guid": "str",
"attribute_identity": "int",
@@ -79,7 +79,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"aggregation_datum": "aggregationDatum",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
aggregation_datum: "GsaAggregationDatum | Unset_Type" = Unset,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
aggregation_datum: GsaAggregationDatum, optional
attribute_guid: str | None, optional
attribute_identity: int | None, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_boolean_criterion.py
index 87abb3d1f..4d120b696 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_boolean_criterion.py
@@ -64,17 +64,17 @@ class GsaBooleanCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
- "_none": "list[GsaCriterion]",
- "all": "list[GsaCriterion]",
- "any": "list[GsaCriterion]",
+ "type_": "GsaCriterionType",
+ "all_": "list[GsaCriterion]",
+ "any_": "list[GsaCriterion]",
+ "none_": "list[GsaCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {
@@ -88,103 +88,103 @@ class GsaBooleanCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
- _none: "list[GsaCriterion] | None | Unset_Type" = Unset,
- all: "list[GsaCriterion] | None | Unset_Type" = Unset,
- any: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
+ all_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ any_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ none_: "list[GsaCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaBooleanCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
- _none: list[GsaCriterion] | None, optional
- all: list[GsaCriterion] | None, optional
- any: list[GsaCriterion] | None, optional
+ type_: GsaCriterionType
+ all_: list[GsaCriterion] | None, optional
+ any_: list[GsaCriterion] | None, optional
+ none_: list[GsaCriterion] | None, optional
"""
- super().__init__(type=type)
- self._all: list[GsaCriterion] | None | Unset_Type = Unset
- self._any: list[GsaCriterion] | None | Unset_Type = Unset
- self.__none: list[GsaCriterion] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._any_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._none_: list[GsaCriterion] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the all of this GsaBooleanCriterion.
+ def all_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ The all_ of this GsaBooleanCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the all of this GsaBooleanCriterion.
+ @all_.setter
+ def all_(self, all_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Parameters
----------
- all: list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ all_: list[GsaCriterion] | None | Unset_Type
+ The all_ of this GsaBooleanCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the any of this GsaBooleanCriterion.
+ def any_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ The any_ of this GsaBooleanCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the any of this GsaBooleanCriterion.
+ @any_.setter
+ def any_(self, any_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Parameters
----------
- any: list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ any_: list[GsaCriterion] | None | Unset_Type
+ The any_ of this GsaBooleanCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the _none of this GsaBooleanCriterion.
+ def none_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ The none_ of this GsaBooleanCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the _none of this GsaBooleanCriterion.
+ @none_.setter
+ def none_(self, none_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Parameters
----------
- _none: list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ none_: list[GsaCriterion] | None | Unset_Type
+ The none_ of this GsaBooleanCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_attribute.py
index 0cbbf8ab2..a9f25c02c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_attribute.py
@@ -64,7 +64,7 @@ class GsaCreateAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -73,7 +73,7 @@ class GsaCreateAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -109,7 +109,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -120,20 +120,20 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
is_hidden_from_search_criteria: bool | None, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if help_path is not Unset:
@@ -145,32 +145,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaCreateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaCreateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaCreateAttribute.
+ The type_ of this GsaCreateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaCreateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaCreateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaCreateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaCreateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_cross_database_record_link_group.py
index ded076439..a39c15401 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_cross_database_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -95,7 +95,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -106,12 +106,12 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_date_time_attribute.py
index 9f8d6f715..d449f434a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_date_time_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_attribute.py
index 3b3e06ecb..199db3f55 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -79,7 +79,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -98,7 +98,7 @@ def __init__(
*,
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -120,7 +120,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute.py
index ecedc2672..71ec30e13 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute.py
@@ -69,7 +69,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "list[GsaCreateDiscreteFunctionalAttributeParameter]",
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -80,7 +80,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "attributeParameters",
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -100,7 +100,7 @@ def __init__(
attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]",
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter]
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -121,7 +121,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
index 862820a57..76e327306 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
index d61cad20c..14cc5f821 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_parameter.py
index a76dda37e..59c206e6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter.py
index 2124995db..82a4a15d7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateDiscreteParameterValue]",
"guid": "str",
"help_path": "str",
@@ -77,7 +77,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaCreateDiscreteParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateDiscreteParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -113,7 +113,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_content.py
index d0db41b35..63c21da73 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateDiscreteParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaCreateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaCreateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_value.py
index 37b7ac99e..e9827d2a3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_discrete_parameter_value.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteParameterValue(GsaCreateParameterValue):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteParameterValue - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_dynamic_record_link_group.py
index 7e256beba..d43bd1119 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_dynamic_record_link_group.py
@@ -72,7 +72,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"forbid_orphans": "bool",
"guid": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
@@ -83,7 +83,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
"referential_integrity_model": "referentialIntegrityModel",
@@ -103,7 +103,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset,
@@ -116,13 +116,13 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
forbid_orphans: bool, optional
guid: str, optional
referential_integrity_model: GsaReferentialIntegrityModel, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_file_attribute.py
index f31c29a22..e35f6fec6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_file_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute.py
index 9e3e84f88..4e095eef0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"attribute_parameters": "list[GsaCreateFloatFunctionalAttributeParameter]",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -81,7 +81,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"attribute_parameters": "attributeParameters",
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -104,7 +104,7 @@ def __init__(
*,
attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
----------
attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter]
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -130,7 +130,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_discrete_parameter.py
index a0d3eb7c8..91ebc1ffb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_numeric_parameter.py
index 724cedbda..fdf8a6ca0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_parameter.py
index 5eacf67e2..8e4a4b40c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_hyperlink_attribute.py
index 38668a523..979ee0f2e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_hyperlink_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_integer_attribute.py
index 2d20eda1c..eb94092f2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_integer_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -120,7 +120,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_job_request.py
index 7680f2021..a4ad76d0d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_job_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_job_request.py
@@ -67,7 +67,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "str",
"parameters": "str",
"scheduled_execution_date": "datetime",
- "type": "str",
+ "type_": "str",
"version": "int",
}
@@ -78,7 +78,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "name",
"parameters": "parameters",
"scheduled_execution_date": "scheduledExecutionDate",
- "type": "type",
+ "type_": "type",
"version": "version",
}
@@ -95,7 +95,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
parameters: "str | None | Unset_Type" = Unset,
scheduled_execution_date: "datetime | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
version: "int | Unset_Type" = Unset,
) -> None:
"""GsaCreateJobRequest - a model defined in Swagger
@@ -108,13 +108,13 @@ def __init__(
name: str | None, optional
parameters: str | None, optional
scheduled_execution_date: datetime | None, optional
- type: str | None, optional
+ type_: str | None, optional
version: int, optional
"""
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
self._culture: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._version: int | Unset_Type = Unset
self._scheduled_execution_date: datetime | None | Unset_Type = Unset
self._input_file_ids: list[str] | None | Unset_Type = Unset
@@ -126,8 +126,8 @@ def __init__(
self.description = description
if culture is not Unset:
self.culture = culture
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if version is not Unset:
self.version = version
if scheduled_execution_date is not Unset:
@@ -204,26 +204,26 @@ def culture(self, culture: "str | None | Unset_Type") -> None:
self._culture = culture
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaCreateJobRequest.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaCreateJobRequest.
Returns
-------
str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ The type_ of this GsaCreateJobRequest.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaCreateJobRequest.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaCreateJobRequest.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ type_: str | None | Unset_Type
+ The type_ of this GsaCreateJobRequest.
"""
- self._type = type
+ self._type_ = type_
@property
def version(self) -> "int | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_logical_attribute.py
index c32ec8bed..fa8a72077 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_logical_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_long_text_attribute.py
index 5fa5ba276..ccee00f2e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_long_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_maths_functional_attribute.py
index 6220e21c0..a23a977b6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_maths_functional_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
"allow_extrapolation": "bool",
@@ -85,7 +85,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
"allow_extrapolation": "allowExtrapolation",
@@ -115,7 +115,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
allow_extrapolation: "bool | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
allow_extrapolation: bool, optional
@@ -152,7 +152,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter.py
index b50e54551..85dadb6c1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateNumericParameterValue]",
"guid": "str",
"help_path": "str",
@@ -84,7 +84,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaCreateNumericParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateNumericParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -132,7 +132,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_content.py
index e814658a9..c8de90646 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateNumericParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaCreateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaCreateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_value.py
index f6455d2a2..0bc13c6fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"guid": "guid",
"name": "name",
@@ -88,7 +88,7 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
guid: str, optional
name: str | None, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter.py
index 0503ff636..e52a056d3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter.py
@@ -65,7 +65,7 @@ class GsaCreateParameter(ModelBase):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"guid": "str",
"help_path": "str",
}
@@ -73,7 +73,7 @@ class GsaCreateParameter(ModelBase):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"help_path": "helpPath",
}
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -104,17 +104,17 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
guid: str, optional
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_index: int
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_index = default_parameter_value_index
@@ -123,32 +123,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameter.
+ The type_ of this GsaCreateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_content.py
index aa1acc71c..0b7b9479d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_content.py
@@ -64,12 +64,12 @@ class GsaCreateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameterContent.
+ The type_ of this GsaCreateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_value.py
index eb8e7eea9..1f543e22a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_parameter_value.py
@@ -63,12 +63,12 @@ class GsaCreateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaCreateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaCreateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaCreateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ The type_ of this GsaCreateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaCreateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaCreateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaCreateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_picture_attribute.py
index 40974881e..47f50caec 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_picture_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
"help_path": "str",
@@ -76,7 +76,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
"help_path": "helpPath",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,7 +102,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
help_path: str | None, optional
@@ -110,7 +110,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_point_attribute.py
index 5760eeaaa..b45ab50d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_point_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -80,7 +80,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -103,7 +103,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -130,7 +130,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_range_attribute.py
index 094770d1f..fe67bdd58 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_range_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -121,7 +121,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_record_link_group.py
index a73507915..5889edb83 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_record_link_group.py
@@ -66,7 +66,7 @@ class GsaCreateRecordLinkGroup(ModelBase):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
}
@@ -74,7 +74,7 @@ class GsaCreateRecordLinkGroup(ModelBase):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateRecordLinkGroup - a model defined in Swagger
@@ -107,16 +107,16 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._link_target: GsaLinkTarget
self._reverse_name: str
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.link_target = link_target
self.reverse_name = reverse_name
self.name = name
@@ -124,32 +124,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaCreateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaCreateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ The type_ of this GsaCreateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaCreateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaCreateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaCreateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def link_target(self) -> "GsaLinkTarget":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_short_text_attribute.py
index deec9f9bb..acd1a5405 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_short_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"data_rule": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"data_rule": "dataRule",
"default_threshold_type": "defaultThresholdType",
"guid": "guid",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
data_rule: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
guid: str, optional
@@ -120,7 +120,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_static_record_link_group.py
index bae016370..12b948d06 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_static_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -95,7 +95,7 @@ def __init__(
link_target: "GsaLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -106,12 +106,12 @@ def __init__(
link_target: GsaLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
super().__init__(
- link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid
+ link_target=link_target, name=name, reverse_name=reverse_name, type_=type_, guid=guid
)
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_tabular_attribute.py
index 2eef2ac49..8617148ef 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_create_tabular_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_full_table": "bool",
"display_summary_row_inline": "bool",
@@ -81,7 +81,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_full_table": "displayFullTable",
"display_summary_row_inline": "displaySummaryRowInline",
@@ -104,7 +104,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_full_table: "bool | Unset_Type" = Unset,
display_summary_row_inline: "bool | Unset_Type" = Unset,
@@ -120,7 +120,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_full_table: bool, optional
display_summary_row_inline: bool, optional
@@ -133,7 +133,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_criterion.py
index c3873fab5..0043c8842 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_criterion.py
@@ -63,11 +63,11 @@ class GsaCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -95,45 +95,45 @@ class GsaCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaCriterionType",
+ type_: "GsaCriterionType",
) -> None:
"""GsaCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
"""
- self._type: GsaCriterionType
+ self._type_: GsaCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaCriterionType":
- """Gets the type of this GsaCriterion.
+ def type_(self) -> "GsaCriterionType":
+ """Gets the type_ of this GsaCriterion.
Returns
-------
GsaCriterionType
- The type of this GsaCriterion.
+ The type_ of this GsaCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaCriterionType") -> None:
- """Sets the type of this GsaCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaCriterionType") -> None:
+ """Sets the type_ of this GsaCriterion.
Parameters
----------
- type: GsaCriterionType
- The type of this GsaCriterion.
+ type_: GsaCriterionType
+ The type_ of this GsaCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_cross_database_record_link_group.py
index 0839f5e3f..b3658283a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_cross_database_record_link_group.py
@@ -74,7 +74,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_count_rollup_datum.py
index 4645413dc..881b720e6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_count_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_count_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "countRollup",
+ type_: "str | None" = "countRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_numeric_rollup_datum.py
index 3c8a920ae..aeda68044 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_numeric_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_numeric_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "statisticalRollup",
+ type_: "str | None" = "statisticalRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_rollup_datum.py
index 804cf4971..53fc82cb9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportRollupDatum(ModelBase):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -75,7 +75,7 @@ class GsaDataExportRollupDatum(ModelBase):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -100,7 +100,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None",
+ type_: "str | None",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -124,7 +124,7 @@ def __init__(
self._roll_up_type: GsaTabularColumnRollUpType | Unset_Type = Unset
self._path_attribute_guids: list[str]
self._path_attribute_identities: list[int]
- self._type: str | None
+ self._type_: str | None
if database_key is not Unset:
self.database_key = database_key
@@ -136,7 +136,7 @@ def __init__(
self.roll_up_type = roll_up_type
self.path_attribute_guids = path_attribute_guids
self.path_attribute_identities = path_attribute_identities
- self.type = type
+ self.type_ = type_
@property
def database_key(self) -> "str | None | Unset_Type":
@@ -296,29 +296,29 @@ def path_attribute_identities(self, path_attribute_identities: "list[int]") -> N
self._path_attribute_identities = path_attribute_identities
@property
- def type(self) -> "str | None":
- """Gets the type of this GsaDataExportRollupDatum.
+ def type_(self) -> "str | None":
+ """Gets the type_ of this GsaDataExportRollupDatum.
Returns
-------
str | None
- The type of this GsaDataExportRollupDatum.
+ The type_ of this GsaDataExportRollupDatum.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None") -> None:
- """Sets the type of this GsaDataExportRollupDatum.
+ @type_.setter
+ def type_(self, type_: "str | None") -> None:
+ """Sets the type_ of this GsaDataExportRollupDatum.
Parameters
----------
- type: str | None
- The type of this GsaDataExportRollupDatum.
+ type_: str | None
+ The type_ of this GsaDataExportRollupDatum.
"""
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_value_rollup_datum.py
index 2028725a0..de1450d5c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_value_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_value_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -78,7 +78,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valueRollup",
+ type_: "str | None" = "valueRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_values_rollup_datum.py
index 39bdf4296..186dd996d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_values_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_data_export_values_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valuesRollup",
+ type_: "str | None" = "valuesRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_aggregation_datum_criterion.py
index ec331f877..9981586ef 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
) -> None:
"""GsaDateTimeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_attribute.py
index b5694862a..104096e89 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_attribute.py
@@ -71,7 +71,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_criterion.py
index de2f85775..d2ba06825 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "datetime",
"lte": "datetime",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
gte: "datetime | None | Unset_Type" = Unset,
lte: "datetime | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: datetime | None, optional
lte: datetime | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: datetime | None | Unset_Type = Unset
self._lte: datetime | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_exists_criterion.py
index 9166b5a54..b7250fd4b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
) -> None:
"""GsaDateTimeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
index 1f76c2a39..e71bcb2db 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion(GsaAggrega
"""
swagger_types: dict[str, str] = {
"interval": "GsaCalendarInterval",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
interval: "GsaCalendarInterval",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
interval: GsaCalendarInterval
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: GsaCalendarInterval
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
index cd94c1b61..ce850beb4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatu
"""
swagger_types: dict[str, str] = {
"interval": "str",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
interval: "str",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
interval: str
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: str
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_histogram_aggregation_datum_criterion.py
index 807301eaf..a000cc16c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_date_time_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_criterion.py
index c330c4c59..c3b3df8d7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -111,45 +111,45 @@ class GsaDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumCriterionType",
+ type_: "GsaDatumCriterionType",
) -> None:
"""GsaDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- self._type: GsaDatumCriterionType
+ self._type_: GsaDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumCriterionType":
- """Gets the type of this GsaDatumCriterion.
+ def type_(self) -> "GsaDatumCriterionType":
+ """Gets the type_ of this GsaDatumCriterion.
Returns
-------
GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ The type_ of this GsaDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumCriterionType") -> None:
- """Sets the type of this GsaDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaDatumCriterionType") -> None:
+ """Sets the type_ of this GsaDatumCriterion.
Parameters
----------
- type: GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ type_: GsaDatumCriterionType
+ The type_ of this GsaDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_discrete_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_discrete_rollup.py
index 7a84ba41b..d37a68b92 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_discrete_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_discrete_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "GsaDiscreteValuesDiscreteValue",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
value: "GsaDiscreteValuesDiscreteValue",
) -> None:
"""GsaDatumDiscreteRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: GsaDiscreteValuesDiscreteValue
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: GsaDiscreteValuesDiscreteValue
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_double_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_double_rollup.py
index 70318b374..0389e94e2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_double_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_double_rollup.py
@@ -66,13 +66,13 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "float",
"unit": "GsaSlimUnit",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"unit": "unit",
}
@@ -86,7 +86,7 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
value: "float",
unit: "GsaSlimUnit | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: float
unit: GsaSlimUnit, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float
self._unit: GsaSlimUnit | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_exists_criterion.py
index 65bc11829..7d0ee97aa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_exists_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -98,45 +98,45 @@ class GsaDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaDatumExistsCriterion.
Returns
-------
GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ The type_ of this GsaDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ type_: GsaAttributeType
+ The type_ of this GsaDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_export_failure.py
index 73ec547f7..4e3836de2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_export_failure.py
@@ -71,14 +71,14 @@ class GsaDatumExportFailure(GsaExportFailure):
"failed_datum": "GsaDatumReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_datum": "failedDatum",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_datum: "GsaDatumReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.DATUM,
+ type_: "GsaExportFailureType" = GsaExportFailureType.DATUM,
) -> None:
"""GsaDatumExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_datum: GsaDatumReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_datum: GsaDatumReference
self.failed_datum = failed_datum
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_integer_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_integer_rollup.py
index feb70ebf8..20892c328 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_integer_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_integer_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -82,17 +82,17 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
value: "int",
) -> None:
"""GsaDatumIntegerRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_list_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_list_rollup.py
index 1b36abea9..dd76ffcd5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_list_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_list_rollup.py
@@ -67,12 +67,12 @@ class GsaDatumListRollup(GsaDatumRollup):
"""
swagger_types: dict[str, str] = {
"list_rollup_datums": "list[GsaListRollupDatum]",
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
"list_rollup_datums": "listRollupDatums",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,16 +85,16 @@ def __init__(
self,
*,
list_rollup_datums: "list[GsaListRollupDatum]",
- type: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
) -> None:
"""GsaDatumListRollup - a model defined in Swagger
Parameters
----------
list_rollup_datums: list[GsaListRollupDatum]
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._list_rollup_datums: list[GsaListRollupDatum]
self.list_rollup_datums = list_rollup_datums
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_rollup.py
index bf3524ab0..3d1754439 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_datum_rollup.py
@@ -63,11 +63,11 @@ class GsaDatumRollup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,45 +86,45 @@ class GsaDatumRollup(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumRollupType",
+ type_: "GsaDatumRollupType",
) -> None:
"""GsaDatumRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- self._type: GsaDatumRollupType
+ self._type_: GsaDatumRollupType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumRollupType":
- """Gets the type of this GsaDatumRollup.
+ def type_(self) -> "GsaDatumRollupType":
+ """Gets the type_ of this GsaDatumRollup.
Returns
-------
GsaDatumRollupType
- The type of this GsaDatumRollup.
+ The type_ of this GsaDatumRollup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumRollupType") -> None:
- """Sets the type of this GsaDatumRollup.
+ @type_.setter
+ def type_(self, type_: "GsaDatumRollupType") -> None:
+ """Sets the type_ of this GsaDatumRollup.
Parameters
----------
- type: GsaDatumRollupType
- The type of this GsaDatumRollup.
+ type_: GsaDatumRollupType
+ The type_ of this GsaDatumRollup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_attribute.py
index c11d50e54..14becc0d4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_attribute.py
@@ -73,7 +73,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_multi_valued": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_multi_valued": "isMultiValued",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -113,7 +113,7 @@ def __init__(
is_multi_valued: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -131,7 +131,7 @@ def __init__(
is_multi_valued: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -144,7 +144,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_datum_exists_criterion.py
index 7f062f378..df747eba2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
) -> None:
"""GsaDiscreteDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute.py
index 1fa884350..6e81e2b27 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute.py
@@ -73,7 +73,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -114,7 +114,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -132,7 +132,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -145,7 +145,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_discrete_parameter.py
index f7471c01c..d307303e7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeDiscreteParameter(GsaDiscreteFunctionalAttri
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_numeric_parameter.py
index 14764dcce..daed8dfc6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_numeric_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeNumericParameter(GsaDiscreteFunctionalAttrib
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_parameter.py
index f9b4b759a..b1dbdb9c5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_datum_exists_criterion.py
index 117d621fe..8e59f3522 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
) -> None:
"""GsaDiscreteFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_range_datum_criterion.py
index df8c9ded7..4c5b08f38 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_range_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_values_datum_criterion.py
index a2a6a9e02..8fecec832 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_functional_values_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"any_guids": "list[str]",
"any_identities": "list[int]",
"constraints": "list[GsaParameterConstraint]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"any_guids": "anyGuids",
"any_identities": "anyIdentities",
"constraints": "constraints",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
any_guids: "list[str] | None | Unset_Type" = Unset,
any_identities: "list[int] | None | Unset_Type" = Unset,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
any_guids: list[str] | None, optional
any_identities: list[int] | None, optional
constraints: list[GsaParameterConstraint] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._any_identities: list[int] | None | Unset_Type = Unset
self._any_guids: list[str] | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_datum_criterion.py
index fcded7a57..0095d95c0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
value: "str",
) -> None:
"""GsaDiscreteGuidDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_values_datum_criterion.py
index a4dc64f4c..70d2d28c0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_guid_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteGuidValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_datum_criterion.py
index ac64ced7e..4afc24c40 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
value: "int",
) -> None:
"""GsaDiscreteIdentityDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_values_datum_criterion.py
index 2889fbb3c..d186e26f4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_identity_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[int]",
- "all": "list[int]",
- "any": "list[int]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[int]",
+ "any_": "list[int]",
+ "none_": "list[int]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
- _none: "list[int] | None | Unset_Type" = Unset,
- all: "list[int] | None | Unset_Type" = Unset,
- any: "list[int] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
+ all_: "list[int] | None | Unset_Type" = Unset,
+ any_: "list[int] | None | Unset_Type" = Unset,
+ none_: "list[int] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteIdentityValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[int] | None, optional
- all: list[int] | None, optional
- any: list[int] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[int] | None, optional
+ any_: list[int] | None, optional
+ none_: list[int] | None, optional
"""
- super().__init__(type=type)
- self._all: list[int] | None | Unset_Type = Unset
- self._any: list[int] | None | Unset_Type = Unset
- self.__none: list[int] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[int] | None | Unset_Type = Unset
+ self._any_: list[int] | None | Unset_Type = Unset
+ self._none_: list[int] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[int] | None | Unset_Type":
- """Gets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ def all_(self) -> "list[int] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Returns
-------
list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[int] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[int] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Parameters
----------
- all: list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ all_: list[int] | None | Unset_Type
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[int] | None | Unset_Type":
- """Gets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ def any_(self) -> "list[int] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[int] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[int] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Parameters
----------
- any: list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ any_: list[int] | None | Unset_Type
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[int] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ def none_(self) -> "list[int] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[int] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[int] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Parameters
----------
- _none: list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ none_: list[int] | None | Unset_Type
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter.py
index ecad48550..990ca1879 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaDiscreteParameterValue]",
"help_path": "str",
}
@@ -78,7 +78,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
}
@@ -96,7 +96,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaDiscreteParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -108,7 +108,7 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaDiscreteParameterValue]
help_path: str | None, optional
"""
@@ -117,7 +117,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._values: list[GsaDiscreteParameterValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_content.py
index 48a549f1e..e8dd3d056 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaDiscreteParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaDiscreteRange",
"parameter_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaDiscreteRange, optional
parameter_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimNamedEntity | Unset_Type = Unset
self._parameter_range: GsaDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_name_constraint.py
index 3d21ca25f..d4dda8785 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_name_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_name_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterNameConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[str]",
- "any": "list[str]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
- _none: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterNameConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterNameConstraint.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterNameConstraint.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterNameConstraint.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterNameConstraint.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value.py
index 5f7a15d80..66d017639 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value.py
@@ -70,13 +70,13 @@ class GsaDiscreteParameterValue(GsaParameterValue):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -88,7 +88,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
) -> None:
"""GsaDiscreteParameterValue - a model defined in Swagger
@@ -96,9 +96,9 @@ def __init__(
----------
guid: str
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value_constraint.py
index 1fa390ee3..deb9b440c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_parameter_value_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterValueConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[float]",
- "any": "list[float]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[float]",
+ "none_": "list[float]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
- _none: "list[float] | None | Unset_Type" = Unset,
- any: "list[float] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
+ any_: "list[float] | None | Unset_Type" = Unset,
+ none_: "list[float] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterValueConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[float] | None, optional
- any: list[float] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[float] | None, optional
+ none_: list[float] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[float] | None | Unset_Type = Unset
- self.__none: list[float] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[float] | None | Unset_Type = Unset
+ self._none_: list[float] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[float] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterValueConstraint.
+ def any_(self) -> "list[float] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[float] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterValueConstraint.
+ @any_.setter
+ def any_(self, any_: "list[float] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- any: list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ any_: list[float] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[float] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterValueConstraint.
+ def none_(self) -> "list[float] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[float] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterValueConstraint.
+ @none_.setter
+ def none_(self, none_: "list[float] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- _none: list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ none_: list[float] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_range_datum_criterion.py
index 9d2bb95e8..b31cdcce6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_aggregation_datum_criterion.py
index d4b6e0abd..6fff6f99e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_datum_criterion.py
index e327e69f6..622af2c77 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_prefix_datum_criterion.py
index d64a520c5..bfa32ff29 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaDiscreteTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
) -> None:
"""GsaDiscreteTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_values_datum_criterion.py
index 153b1fba5..056ad11fb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_discrete_text_values_datum_criterion.py
@@ -68,18 +68,18 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
"text_match_behavior": "textMatchBehavior",
}
@@ -92,102 +92,102 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteTextValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
if text_match_behavior is not Unset:
self.text_match_behavior = text_match_behavior
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteTextValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteTextValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteTextValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteTextValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@property
def text_match_behavior(self) -> "GsaTextMatchBehavior | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_double_sorting_value.py
index 73083dc40..9febca173 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_double_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_double_sorting_value.py
@@ -68,12 +68,12 @@ class GsaDoubleSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDoubleSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
+ type_: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
value: "float | Unset_Type" = Unset,
) -> None:
"""GsaDoubleSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_dynamic_record_link_group.py
index f8f099330..5745d3151 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_dynamic_record_link_group.py
@@ -76,7 +76,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -90,7 +90,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -113,7 +113,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -129,7 +129,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -139,7 +139,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_export_failure.py
index 14790cc55..4a0b0f92b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_export_failure.py
@@ -65,13 +65,13 @@ class GsaExportFailure(ModelBase):
swagger_types: dict[str, str] = {
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
*,
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType",
+ type_: "GsaExportFailureType",
) -> None:
"""GsaExportFailure - a model defined in Swagger
@@ -101,43 +101,43 @@ def __init__(
----------
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- self._type: GsaExportFailureType
+ self._type_: GsaExportFailureType
self._failure_details: str
self._failure_reason: str
- self.type = type
+ self.type_ = type_
self.failure_details = failure_details
self.failure_reason = failure_reason
@property
- def type(self) -> "GsaExportFailureType":
- """Gets the type of this GsaExportFailure.
+ def type_(self) -> "GsaExportFailureType":
+ """Gets the type_ of this GsaExportFailure.
Returns
-------
GsaExportFailureType
- The type of this GsaExportFailure.
+ The type_ of this GsaExportFailure.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaExportFailureType") -> None:
- """Sets the type of this GsaExportFailure.
+ @type_.setter
+ def type_(self, type_: "GsaExportFailureType") -> None:
+ """Sets the type_ of this GsaExportFailure.
Parameters
----------
- type: GsaExportFailureType
- The type of this GsaExportFailure.
+ type_: GsaExportFailureType
+ The type_ of this GsaExportFailure.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def failure_details(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_attribute.py
index 3e88a7ffc..1e3eb83a1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_attribute.py
@@ -71,7 +71,7 @@ class GsaFileAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaFileAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_criterion.py
index 1bd078d13..07cbd5caa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
value: "str",
) -> None:
"""GsaFileDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_exists_criterion.py
index cd3166e6b..d8f83cbae 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
) -> None:
"""GsaFileDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_prefix_datum_criterion.py
index 9c408a767..1dc4abc8b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_file_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaFilePrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
) -> None:
"""GsaFilePrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_aggregation_datum_criterion.py
index 35bdbbc04..e576f4a43 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_parameter_values": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_parameter_values": "numberOfParameterValues",
}
@@ -84,17 +84,17 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
number_of_parameter_values: "int | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_parameter_values: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_parameter_values: int | Unset_Type = Unset
if number_of_parameter_values is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute.py
index a227f9241..7b0a9a8bd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute.py
@@ -73,7 +73,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_discrete_parameter.py
index 33e00768c..0535ee581 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaFloatFunctionalAttributeDiscreteParameter(GsaFloatFunctionalAttributePa
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_numeric_parameter.py
index fff081ba9..18d2b9aef 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_parameter.py
index 82d17576d..ac6117351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_criterion.py
index 30cda65a5..acb63bfc5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_exists_criterion.py
index ea03c9471..87f5affc8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
) -> None:
"""GsaFloatFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_graph_datum_criterion.py
index 3b43c2f98..72f65f2be 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_graph_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_float_functional_graph_datum_criterion.py
@@ -68,7 +68,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"default_x_axis_parameter_guid": "str",
"default_x_axis_parameter_identity": "int",
"is_series_graph": "bool",
@@ -82,7 +82,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_x_axis_parameter_guid": "defaultXAxisParameterGuid",
"default_x_axis_parameter_identity": "defaultXAxisParameterIdentity",
"is_series_graph": "isSeriesGraph",
@@ -102,7 +102,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
default_x_axis_parameter_guid: "str | None | Unset_Type" = Unset,
default_x_axis_parameter_identity: "int | None | Unset_Type" = Unset,
is_series_graph: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
default_x_axis_parameter_guid: str | None, optional
default_x_axis_parameter_identity: int | None, optional
is_series_graph: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
x_axis_parameter_guid: str | None, optional
x_axis_parameter_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._x_axis_parameter_identity: int | None | Unset_Type = Unset
self._x_axis_parameter_guid: str | None | Unset_Type = Unset
self._number_of_series_lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation.py
index 5b7706992..a55de88b9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation.py
@@ -66,13 +66,13 @@ class GsaFreeTextAggregation(GsaAggregation):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"terms": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"terms": "terms",
}
@@ -84,7 +84,7 @@ class GsaFreeTextAggregation(GsaAggregation):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
guid: "str | Unset_Type" = Unset,
terms: "list[str] | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str, optional
terms: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str | Unset_Type = Unset
self._terms: list[str] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation_criterion.py
index 334a2868c..7b8756649 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_aggregation_criterion.py
@@ -66,7 +66,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attributes": "GsaValueSpecifier",
"criterion_guid": "str",
"local_columns": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attributes": "attributes",
"criterion_guid": "criterionGuid",
"local_columns": "localColumns",
@@ -93,7 +93,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
criterion_guid: "str | Unset_Type" = Unset,
local_columns: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -104,14 +104,14 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
attributes: GsaValueSpecifier, optional
criterion_guid: str, optional
local_columns: GsaValueSpecifier, optional
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._criterion_guid: str | Unset_Type = Unset
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_criterion.py
index 649776baf..7e109803c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_criterion.py
@@ -64,7 +64,7 @@ class GsaFreeTextCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextCriterion(GsaCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -99,7 +99,7 @@ class GsaFreeTextCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TEXT,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXT,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
local_columns: GsaValueSpecifier, optional
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_prefix_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_prefix_criterion.py
index 511b46dae..f1e100621 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_prefix_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_free_text_prefix_criterion.py
@@ -65,7 +65,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -76,7 +76,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
prefix: str
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
column_identities_to_boost: list[GsaBoostByIdentity] | None, optional
local_columns: GsaValueSpecifier, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_guid_only_attribute.py
index 4321a1bfb..65ae8d927 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_guid_only_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_guid_only_attribute.py
@@ -63,7 +63,7 @@ class GsaGuidOnlyAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"graph_type": "str",
"is_unitted": "bool",
@@ -77,7 +77,7 @@ class GsaGuidOnlyAttribute(ModelBase):
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"graph_type": "graphType",
"is_unitted": "isUnitted",
@@ -102,7 +102,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
is_unitted: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
graph_type: str | None, optional
is_unitted: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
"""
self._name: str
self._guid: str
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_guid: str | None | Unset_Type = Unset
@@ -142,7 +142,7 @@ def __init__(
self.name = name
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -217,32 +217,32 @@ def guid(self, guid: "str") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaGuidOnlyAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaGuidOnlyAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ The type_ of this GsaGuidOnlyAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaGuidOnlyAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaGuidOnlyAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaGuidOnlyAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_attribute.py
index 4f282b60a..8b207b16e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_attribute.py
@@ -71,7 +71,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_criterion.py
index 24dc7605c..820b2fe47 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
value: "str",
) -> None:
"""GsaHyperlinkDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_exists_criterion.py
index 8ed9fcc79..df427d122 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
) -> None:
"""GsaHyperlinkDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_prefix_datum_criterion.py
index a4175ae77..e03ddf625 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_hyperlink_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaHyperlinkPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
) -> None:
"""GsaHyperlinkPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_aggregation_datum_criterion.py
index 3406345cc..90e9711d4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
) -> None:
"""GsaIntegerAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_attribute.py
index 0106c4b30..4c351796d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_attribute.py
@@ -72,7 +72,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -138,7 +138,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_criterion.py
index e7102ee6a..2a97d0c10 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_exists_criterion.py
index d2fe253e5..cff1489d7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
) -> None:
"""GsaIntegerDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
index f78e59a14..c9f8c3a1e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_histogram_aggregation_datum_criterion.py
index 414e8d872..6de8796cb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integer_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaIntegerHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integration_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integration_attribute.py
index 2bd9bde54..cbc815db0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integration_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_integration_attribute.py
@@ -62,7 +62,7 @@ class GsaIntegrationAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"discrete_type_identity": "int",
"graph_type": "str",
@@ -78,7 +78,7 @@ class GsaIntegrationAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"discrete_type_identity": "discreteTypeIdentity",
"graph_type": "graphType",
@@ -105,7 +105,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
discrete_type_identity: "int | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
discrete_type_identity: int | None, optional
graph_type: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
self._name: str
self._identity: int | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_identity: int | None | Unset_Type = Unset
@@ -155,7 +155,7 @@ def __init__(
self.identity = identity
if guid is not Unset:
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -254,32 +254,32 @@ def guid(self, guid: "str | Unset_Type") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaIntegrationAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaIntegrationAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ The type_ of this GsaIntegrationAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaIntegrationAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaIntegrationAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaIntegrationAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_job.py
index 7ac0d6c2d..1e0686f04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_job.py
@@ -64,7 +64,7 @@ class GsaJob(ModelBase):
"completion_date": "datetime",
"description": "str",
"execution_date": "datetime",
- "id": "str",
+ "id_": "str",
"input_file_ids": "list[str]",
"job_specific_outputs": "dict(str, object)",
"name": "str",
@@ -75,14 +75,14 @@ class GsaJob(ModelBase):
"submission_date": "datetime",
"submitter_name": "str",
"submitter_roles": "list[str]",
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
"completion_date": "completionDate",
"description": "description",
"execution_date": "executionDate",
- "id": "id",
+ "id_": "id",
"input_file_ids": "inputFileIds",
"job_specific_outputs": "jobSpecificOutputs",
"name": "name",
@@ -93,7 +93,7 @@ class GsaJob(ModelBase):
"submission_date": "submissionDate",
"submitter_name": "submitterName",
"submitter_roles": "submitterRoles",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -108,7 +108,7 @@ def __init__(
completion_date: "datetime | None | Unset_Type" = Unset,
description: "str | None | Unset_Type" = Unset,
execution_date: "datetime | None | Unset_Type" = Unset,
- id: "str | Unset_Type" = Unset,
+ id_: "str | Unset_Type" = Unset,
input_file_ids: "list[str] | None | Unset_Type" = Unset,
job_specific_outputs: "dict[str, object] | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
submission_date: "datetime | None | Unset_Type" = Unset,
submitter_name: "str | None | Unset_Type" = Unset,
submitter_roles: "list[str] | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaJob - a model defined in Swagger
@@ -128,7 +128,7 @@ def __init__(
completion_date: datetime | None, optional
description: str | None, optional
execution_date: datetime | None, optional
- id: str, optional
+ id_: str, optional
input_file_ids: list[str] | None, optional
job_specific_outputs: dict[str, object] | None, optional
name: str | None, optional
@@ -139,12 +139,12 @@ def __init__(
submission_date: datetime | None, optional
submitter_name: str | None, optional
submitter_roles: list[str] | None, optional
- type: str | None, optional
+ type_: str | None, optional
"""
- self._id: str | Unset_Type = Unset
+ self._id_: str | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._submitter_name: str | None | Unset_Type = Unset
self._submitter_roles: list[str] | None | Unset_Type = Unset
self._submission_date: datetime | None | Unset_Type = Unset
@@ -157,14 +157,14 @@ def __init__(
self._position: int | None | Unset_Type = Unset
self._job_specific_outputs: dict[str, object] | None | Unset_Type = Unset
- if id is not Unset:
- self.id = id
+ if id_ is not Unset:
+ self.id_ = id_
if name is not Unset:
self.name = name
if description is not Unset:
self.description = description
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if submitter_name is not Unset:
self.submitter_name = submitter_name
if submitter_roles is not Unset:
@@ -189,29 +189,29 @@ def __init__(
self.job_specific_outputs = job_specific_outputs
@property
- def id(self) -> "str | Unset_Type":
- """Gets the id of this GsaJob.
+ def id_(self) -> "str | Unset_Type":
+ """Gets the id_ of this GsaJob.
Returns
-------
str | Unset_Type
- The id of this GsaJob.
+ The id_ of this GsaJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str | Unset_Type") -> None:
- """Sets the id of this GsaJob.
+ @id_.setter
+ def id_(self, id_: "str | Unset_Type") -> None:
+ """Sets the id_ of this GsaJob.
Parameters
----------
- id: str | Unset_Type
- The id of this GsaJob.
+ id_: str | Unset_Type
+ The id_ of this GsaJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
- self._id = id
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
+ self._id_ = id_
@property
def name(self) -> "str | None | Unset_Type":
@@ -258,26 +258,26 @@ def description(self, description: "str | None | Unset_Type") -> None:
self._description = description
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaJob.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaJob.
Returns
-------
str | None | Unset_Type
- The type of this GsaJob.
+ The type_ of this GsaJob.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaJob.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaJob.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaJob.
+ type_: str | None | Unset_Type
+ The type_ of this GsaJob.
"""
- self._type = type
+ self._type_ = type_
@property
def submitter_name(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_aggregation_datum_criterion.py
index 25e423a48..4f211ceab 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"local_aggregation_criteria": "list[GsaLocalColumnAggregationCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"local_aggregation_criteria": "localAggregationCriteria",
}
@@ -86,17 +86,17 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
local_aggregation_criteria: "list[GsaLocalColumnAggregationCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaLinkAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
local_aggregation_criteria: list[GsaLocalColumnAggregationCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._local_aggregation_criteria: (
list[GsaLocalColumnAggregationCriterion] | None | Unset_Type
) = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_datum_criterion.py
index d10694550..3fdcc59f0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_datum_criterion.py
@@ -69,7 +69,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"link_datum_type": "GsaLinkAttributeType",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"indirect_links": "GsaIndirectLinks",
"inner_criterion": "GsaCriterion",
"local_criterion": "GsaCriterion",
@@ -84,7 +84,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
attribute_map: dict[str, str] = {
"link_datum_type": "linkDatumType",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"inner_criterion": "innerCriterion",
"local_criterion": "localCriterion",
@@ -111,7 +111,7 @@ def __init__(
self,
*,
link_datum_type: "GsaLinkAttributeType",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
local_criterion: "GsaCriterion | Unset_Type" = Unset,
@@ -128,7 +128,7 @@ def __init__(
Parameters
----------
link_datum_type: GsaLinkAttributeType
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
indirect_links: GsaIndirectLinks, optional
inner_criterion: GsaCriterion, optional
local_criterion: GsaCriterion, optional
@@ -140,7 +140,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_exists_datum_criterion.py
index 459aa8849..23b50dd47 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_exists_datum_criterion.py
@@ -67,7 +67,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
"""
swagger_types: dict[str, str] = {
"target_database_key": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"indirect_links": "GsaIndirectLinks",
"link_datum_type": "GsaLinkAttributeType",
"local_rows_behavior": "GsaLocalRowsBehavior",
@@ -80,7 +80,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
attribute_map: dict[str, str] = {
"target_database_key": "targetDatabaseKey",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"link_datum_type": "linkDatumType",
"local_rows_behavior": "localRowsBehavior",
@@ -103,7 +103,7 @@ def __init__(
self,
*,
target_database_key: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
link_datum_type: "GsaLinkAttributeType | Unset_Type" = Unset,
local_rows_behavior: "GsaLocalRowsBehavior | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
target_database_key: str
- type: GsaAttributeType
+ type_: GsaAttributeType
indirect_links: GsaIndirectLinks, optional
link_datum_type: GsaLinkAttributeType, optional
local_rows_behavior: GsaLocalRowsBehavior, optional
@@ -128,7 +128,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_export_failure.py
index 8ebf9bf79..73c761c14 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_link_export_failure.py
@@ -71,14 +71,14 @@ class GsaLinkExportFailure(GsaExportFailure):
"failed_link": "GsaLinkReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_link": "failedLink",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_link: "GsaLinkReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.LINK,
+ type_: "GsaExportFailureType" = GsaExportFailureType.LINK,
) -> None:
"""GsaLinkExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_link: GsaLinkReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_link: GsaLinkReference
self.failed_link = failed_link
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_linking_value_exists_datum_criterion.py
index e28424a2e..ddf1bea07 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_linking_value_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_linking_value_exists_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"attribute_type": "GsaAttributeType",
"inner_hits_identifier": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"inner_hits_identifier": "innerHitsIdentifier",
}
@@ -88,7 +88,7 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DYNAMICLINKINGVALUE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DYNAMICLINKINGVALUE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
inner_hits_identifier: "str | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
attribute_type: GsaAttributeType, optional
inner_hits_identifier: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_type: GsaAttributeType | Unset_Type = Unset
self._inner_hits_identifier: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_boolean_criterion.py
index 3318f55d9..921164872 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_boolean_criterion.py
@@ -65,13 +65,13 @@ class GsaListBooleanCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"match_all": "list[GsaListCriterion]",
"match_any": "list[GsaListCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"match_all": "matchAll",
"match_any": "matchAny",
}
@@ -86,7 +86,7 @@ class GsaListBooleanCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "listBoolean",
+ type_: "str" = "listBoolean",
match_all: "list[GsaListCriterion] | None | Unset_Type" = Unset,
match_any: "list[GsaListCriterion] | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
match_all: list[GsaListCriterion] | None, optional
match_any: list[GsaListCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._match_any: list[GsaListCriterion] | None | Unset_Type = Unset
self._match_all: list[GsaListCriterion] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_criterion.py
index 74d35a3c3..bf8f5974e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_list_criterion.py
@@ -63,11 +63,11 @@ class GsaListCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,45 +82,45 @@ class GsaListCriterion(ModelBase):
def __init__(
self,
*,
- type: "str",
+ type_: "str",
) -> None:
"""GsaListCriterion - a model defined in Swagger
Parameters
----------
- type: str
+ type_: str
"""
- self._type: str
+ self._type_: str
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "str":
- """Gets the type of this GsaListCriterion.
+ def type_(self) -> "str":
+ """Gets the type_ of this GsaListCriterion.
Returns
-------
str
- The type of this GsaListCriterion.
+ The type_ of this GsaListCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str") -> None:
- """Sets the type of this GsaListCriterion.
+ @type_.setter
+ def type_(self, type_: "str") -> None:
+ """Sets the type_ of this GsaListCriterion.
Parameters
----------
- type: str
- The type of this GsaListCriterion.
+ type_: str
+ The type_ of this GsaListCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_criterion.py
index 11fe25e2b..d7de26803 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_criterion.py
@@ -67,14 +67,14 @@ class GsaLocalColumnCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -104,11 +104,11 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._local_column_criterion_type: GsaLocalColumnCriterionType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_exists_criterion.py
index ea0c0939a..38226bb84 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumExistsCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumExistsCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.EXISTS,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumExistsCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_matches_criterion.py
index df42a144f..b27f6d579 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.MATCHES,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_not_applicable_criterion.py
index f4d83330a..274b635cd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_local_column_not_applicable_criterion.py
@@ -70,14 +70,14 @@ class GsaLocalColumnNotApplicableCriterion(GsaLocalColumnCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -99,13 +99,13 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_aggregation_datum_criterion.py
index 920e3c41e..5cb649340 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
) -> None:
"""GsaLogicalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_attribute.py
index 23d1698fa..c6430e9d5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_attribute.py
@@ -71,7 +71,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_criterion.py
index 8b8e08f53..a166f3c36 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
value: "bool",
) -> None:
"""GsaLogicalDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: bool
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: bool
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_exists_criterion.py
index 8186d9b58..045a8a018 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_logical_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
) -> None:
"""GsaLogicalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_sorting_value.py
index c333ce84b..645c8d524 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_sorting_value.py
@@ -68,12 +68,12 @@ class GsaLongSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.LONG,
+ type_: "GsaSortingValueType" = GsaSortingValueType.LONG,
value: "int | Unset_Type" = Unset,
) -> None:
"""GsaLongSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_attribute.py
index a00be29f2..d59498459 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_attribute.py
@@ -71,7 +71,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_criterion.py
index 9ff83d264..c6e77707e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
value: "str",
) -> None:
"""GsaLongTextDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_exists_criterion.py
index fd8d29d1f..fee67ac54 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
) -> None:
"""GsaLongTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_prefix_datum_criterion.py
index 700a8bc16..0dab037c4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_long_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaLongTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
) -> None:
"""GsaLongTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_attribute.py
index d4012c558..16bc4bad0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_attribute.py
@@ -78,7 +78,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -100,7 +100,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -133,7 +133,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -157,7 +157,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -171,7 +171,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_criterion.py
index 9d23451cf..ad10d5f49 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_exists_criterion.py
index f38f983d0..66989975c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_maths_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
) -> None:
"""GsaMathsFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_named_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_named_criterion.py
index dd92f0db9..173ccd26e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_named_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_named_criterion.py
@@ -64,13 +64,13 @@ class GsaNamedCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"inner_criterion": "GsaCriterion",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"inner_criterion": "innerCriterion",
"name": "name",
}
@@ -84,7 +84,7 @@ class GsaNamedCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
+ type_: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
inner_criterion: GsaCriterion, optional
name: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str | None | Unset_Type = Unset
self._inner_criterion: GsaCriterion | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter.py
index bb851b2f9..6290271fb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaNumericParameterValue]",
"help_path": "str",
"unit": "GsaSlimUnit",
@@ -85,7 +85,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
"unit": "unit",
@@ -110,7 +110,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaNumericParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
unit: "GsaSlimUnit | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaNumericParameterValue]
help_path: str | None, optional
unit: GsaSlimUnit, optional
@@ -136,7 +136,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._is_restricted: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_constraint.py
index bbc388f54..b489c7b4c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_constraint.py
@@ -69,7 +69,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
"gte": "float",
"lte": "float",
"significant_figures": "int",
@@ -77,7 +77,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
"significant_figures": "significantFigures",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
significant_figures: "int | None | Unset_Type" = Unset,
@@ -101,12 +101,12 @@ def __init__(
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
gte: float | None, optional
lte: float | None, optional
significant_figures: int | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._significant_figures: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_content.py
index aad9a94d3..3d4074c68 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaNumericParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_value.py
index 6d61ad7bd..56d91214e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_numeric_parameter_value.py
@@ -69,14 +69,14 @@ class GsaNumericParameterValue(GsaParameterValue):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"name": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"value": "value",
"name": "name",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
name: str | None, optional
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter.py
index 9b683268b..cac6c4b7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter.py
@@ -67,7 +67,7 @@ class GsaParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"help_path": "str",
}
@@ -76,7 +76,7 @@ class GsaParameter(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"help_path": "helpPath",
}
@@ -98,7 +98,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaParameter - a model defined in Swagger
@@ -109,17 +109,17 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_guid = default_parameter_value_guid
@@ -128,32 +128,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameter.
Returns
-------
GsaParameterType
- The type of this GsaParameter.
+ The type_ of this GsaParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameter.
+ type_: GsaParameterType
+ The type_ of this GsaParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_constraint.py
index 42877446b..291413982 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_constraint.py
@@ -64,12 +64,12 @@ class GsaParameterConstraint(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -89,20 +89,20 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType",
+ type_: "GsaParameterConstraintType",
) -> None:
"""GsaParameterConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
"""
self._parameter: GsaObjectIdentifier
- self._type: GsaParameterConstraintType
+ self._type_: GsaParameterConstraintType
self.parameter = parameter
- self.type = type
+ self.type_ = type_
@property
def parameter(self) -> "GsaObjectIdentifier":
@@ -133,32 +133,32 @@ def parameter(self, parameter: "GsaObjectIdentifier") -> None:
self._parameter = parameter
@property
- def type(self) -> "GsaParameterConstraintType":
- """Gets the type of this GsaParameterConstraint.
+ def type_(self) -> "GsaParameterConstraintType":
+ """Gets the type_ of this GsaParameterConstraint.
Returns
-------
GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ The type_ of this GsaParameterConstraint.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterConstraintType") -> None:
- """Sets the type of this GsaParameterConstraint.
+ @type_.setter
+ def type_(self, type_: "GsaParameterConstraintType") -> None:
+ """Sets the type_ of this GsaParameterConstraint.
Parameters
----------
- type: GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ type_: GsaParameterConstraintType
+ The type_ of this GsaParameterConstraint.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_content.py
index be41040b7..1509762fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_content.py
@@ -64,12 +64,12 @@ class GsaParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaParameterContent.
+ The type_ of this GsaParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_value.py
index f26d365c5..638ee31ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_parameter_value.py
@@ -64,12 +64,12 @@ class GsaParameterValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
) -> None:
"""GsaParameterValue - a model defined in Swagger
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str
- self.type = type
+ self.type_ = type_
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaParameterValue.
+ The type_ of this GsaParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_attribute.py
index c50bd7e54..d4e92a2a9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_attribute.py
@@ -71,7 +71,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -85,7 +85,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -105,7 +105,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -134,7 +134,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_criterion.py
index 7bbf99766..c3da9ea05 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
) -> None:
"""GsaPictureDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_exists_criterion.py
index 892f49d18..94b3d2939 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_picture_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
) -> None:
"""GsaPictureDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_aggregation_datum_criterion.py
index 064a83866..21ba2fded 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
) -> None:
"""GsaPointAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_attribute.py
index 59661b08f..c7a5be3f0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_attribute.py
@@ -73,7 +73,7 @@ class GsaPointAttribute(GsaAttribute):
"is_multi_valued": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -90,7 +90,7 @@ class GsaPointAttribute(GsaAttribute):
"is_multi_valued": "isMultiValued",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_multi_valued: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_multi_valued: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_criterion.py
index 299063877..28a0cc40f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_exists_criterion.py
index e50f1ddb5..fa6911ec4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
) -> None:
"""GsaPointDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
index 47966bfb0..fbbc863dd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_histogram_aggregation_datum_criterion.py
index 0a2b643ee..f677b4ecd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_point_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaPointHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute.py
index 672d721ad..cff75c063 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute.py
@@ -77,7 +77,7 @@ class GsaQueryAttribute(ModelBase):
"name": "str",
"tabular_columns": "list[GsaQuerySlimNamedEntity]",
"target": "GsaQueryTabularAttributeTarget",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"unit": "GsaQueryUnit",
}
@@ -98,7 +98,7 @@ class GsaQueryAttribute(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -138,7 +138,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
tabular_columns: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTarget | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
unit: "GsaQueryUnit | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttribute - a model defined in Swagger
@@ -161,10 +161,10 @@ def __init__(
name: str | None, optional
tabular_columns: list[GsaQuerySlimNamedEntity] | None, optional
target: GsaQueryTabularAttributeTarget, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
unit: GsaQueryUnit, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -183,8 +183,8 @@ def __init__(
self._name: str | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -221,29 +221,29 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQueryAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQueryAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ The type_ of this GsaQueryAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQueryAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_filter.py
index 42ab08515..501a03222 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_filter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_filter.py
@@ -63,13 +63,13 @@ class GsaQueryAttributeFilter(ModelBase):
swagger_types: dict[str, str] = {
"guid": "list[str]",
"name": "list[str]",
- "type": "list[GsaAttributeType]",
+ "type_": "list[GsaAttributeType]",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -83,7 +83,7 @@ def __init__(
*,
guid: "list[str] | None | Unset_Type" = Unset,
name: "list[str] | None | Unset_Type" = Unset,
- type: "list[GsaAttributeType] | None | Unset_Type" = Unset,
+ type_: "list[GsaAttributeType] | None | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeFilter - a model defined in Swagger
@@ -91,42 +91,42 @@ def __init__(
----------
guid: list[str] | None, optional
name: list[str] | None, optional
- type: list[GsaAttributeType] | None, optional
+ type_: list[GsaAttributeType] | None, optional
"""
- self._type: list[GsaAttributeType] | None | Unset_Type = Unset
+ self._type_: list[GsaAttributeType] | None | Unset_Type = Unset
self._name: list[str] | None | Unset_Type = Unset
self._guid: list[str] | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "list[GsaAttributeType] | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeFilter.
+ def type_(self) -> "list[GsaAttributeType] | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Returns
-------
list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ The type_ of this GsaQueryAttributeFilter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "list[GsaAttributeType] | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeFilter.
+ @type_.setter
+ def type_(self, type_: "list[GsaAttributeType] | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Parameters
----------
- type: list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ type_: list[GsaAttributeType] | None | Unset_Type
+ The type_ of this GsaQueryAttributeFilter.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "list[str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_properties.py
index 274865b2c..bd01480ce 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attribute_properties.py
@@ -77,7 +77,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "bool",
"tabular_columns": "GsaQuerySlimNamedEntityProperties",
"target": "GsaQueryTabularAttributeTargetProperties",
- "type": "bool",
+ "type_": "bool",
"unit": "GsaQueryUnitProperties",
}
@@ -98,7 +98,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -136,7 +136,7 @@ def __init__(
name: "bool | None | Unset_Type" = Unset,
tabular_columns: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTargetProperties | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
unit: "GsaQueryUnitProperties | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeProperties - a model defined in Swagger
@@ -159,10 +159,10 @@ def __init__(
name: bool | None, optional
tabular_columns: GsaQuerySlimNamedEntityProperties, optional
target: GsaQueryTabularAttributeTargetProperties, optional
- type: bool | None, optional
+ type_: bool | None, optional
unit: GsaQueryUnitProperties, optional
"""
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._default_threshold_type: bool | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -181,8 +181,8 @@ def __init__(
self._name: bool | None | Unset_Type = Unset
self._guid: bool | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -219,26 +219,26 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ The type_ of this GsaQueryAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQueryAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def default_threshold_type(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attributes_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attributes_request.py
index 37339fd55..adbcb35a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attributes_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_attributes_request.py
@@ -62,12 +62,12 @@ class GsaQueryAttributesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryAttributeProperties",
- "filter": "GsaQueryAttributeFilter",
+ "filter_": "GsaQueryAttributeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryAttributeProperties",
- filter: "GsaQueryAttributeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryAttributeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryAttributeProperties
- filter: GsaQueryAttributeFilter, optional
+ filter_: GsaQueryAttributeFilter, optional
"""
self._properties: GsaQueryAttributeProperties
- self._filter: GsaQueryAttributeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryAttributeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryAttributeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryAttributeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryAttributeFilter | Unset_Type":
- """Gets the filter of this GsaQueryAttributesRequest.
+ def filter_(self) -> "GsaQueryAttributeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryAttributesRequest.
Returns
-------
GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ The filter_ of this GsaQueryAttributesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryAttributeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryAttributesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryAttributeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryAttributesRequest.
Parameters
----------
- filter: GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ filter_: GsaQueryAttributeFilter | Unset_Type
+ The filter_ of this GsaQueryAttributesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_discrete_types_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_discrete_types_request.py
index 66f4bd6ed..07206bb58 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_discrete_types_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_discrete_types_request.py
@@ -62,12 +62,12 @@ class GsaQueryDiscreteTypesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryDiscreteTypeProperties",
- "filter": "GsaQueryDiscreteTypeFilter",
+ "filter_": "GsaQueryDiscreteTypeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryDiscreteTypeProperties",
- filter: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryDiscreteTypesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryDiscreteTypeProperties
- filter: GsaQueryDiscreteTypeFilter, optional
+ filter_: GsaQueryDiscreteTypeFilter, optional
"""
self._properties: GsaQueryDiscreteTypeProperties
- self._filter: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryDiscreteTypeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryDiscreteTypeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
- """Gets the filter of this GsaQueryDiscreteTypesRequest.
+ def filter_(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryDiscreteTypesRequest.
Returns
-------
GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryDiscreteTypesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryDiscreteTypesRequest.
Parameters
----------
- filter: GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ filter_: GsaQueryDiscreteTypeFilter | Unset_Type
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute.py
index 3d861a9c5..1e8c4b2c3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute.py
@@ -64,14 +64,14 @@ class GsaQuerySlimTypedAttribute(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttribute - a model defined in Swagger
@@ -95,15 +95,15 @@ def __init__(
display_names: dict[str, str] | None, optional
guid: str | None, optional
name: str | None, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._display_names: dict[str, str] | None | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if display_names is not Unset:
self.display_names = display_names
if name is not Unset:
@@ -112,29 +112,29 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute_properties.py
index 64edd629a..00752db10 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_slim_typed_attribute_properties.py
@@ -63,13 +63,13 @@ class GsaQuerySlimTypedAttributeProperties(ModelBase):
swagger_types: dict[str, str] = {
"guid": "bool",
"name": "bool",
- "type": "bool",
+ "type_": "bool",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -81,7 +81,7 @@ def __init__(
*,
guid: "bool | None | Unset_Type" = Unset,
name: "bool | None | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttributeProperties - a model defined in Swagger
@@ -89,40 +89,40 @@ def __init__(
----------
guid: bool | None, optional
name: bool | None, optional
- type: bool | None, optional
+ type_: bool | None, optional
"""
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._name: bool | None | Unset_Type = Unset
self._guid: bool | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_tables_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_tables_request.py
index d82a6bb6e..16ca5f533 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_tables_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_query_tables_request.py
@@ -62,12 +62,12 @@ class GsaQueryTablesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryTableProperties",
- "filter": "GsaQueryTableFilter",
+ "filter_": "GsaQueryTableFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryTableProperties",
- filter: "GsaQueryTableFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryTableFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryTablesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryTableProperties
- filter: GsaQueryTableFilter, optional
+ filter_: GsaQueryTableFilter, optional
"""
self._properties: GsaQueryTableProperties
- self._filter: GsaQueryTableFilter | Unset_Type = Unset
+ self._filter_: GsaQueryTableFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryTableProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryTableProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryTableFilter | Unset_Type":
- """Gets the filter of this GsaQueryTablesRequest.
+ def filter_(self) -> "GsaQueryTableFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryTablesRequest.
Returns
-------
GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ The filter_ of this GsaQueryTablesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryTableFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryTablesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryTableFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryTablesRequest.
Parameters
----------
- filter: GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ filter_: GsaQueryTableFilter | Unset_Type
+ The filter_ of this GsaQueryTablesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_aggregation_datum_criterion.py
index e4d750b05..a3822a504 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
) -> None:
"""GsaRangeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_attribute.py
index 0fe59302b..e213c25e8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_attribute.py
@@ -71,7 +71,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -86,7 +86,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -109,7 +109,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -140,7 +140,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_criterion.py
index 21cb726af..83f0e022b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_exists_criterion.py
index f2686689a..a970450ca 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
) -> None:
"""GsaRangeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
index 682735d40..1018b085d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_histogram_aggregation_datum_criterion.py
index 7c5d74f88..f3fb627d7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_range_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaRangeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_criterion.py
index aae33b5d8..936543409 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_guid": "ancestorGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
ancestor_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_history_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_history_criterion.py
index d8163ad48..ac97bc042 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_history_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_ancestor_history_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorHistoryCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_history_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_history_guid": "ancestorHistoryGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
ancestor_history_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorHistoryCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_history_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_export_failure.py
index 8754f629b..aec2c4aab 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_export_failure.py
@@ -71,14 +71,14 @@ class GsaRecordExportFailure(GsaExportFailure):
"failed_records": "list[GsaRecordReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_records": "failedRecords",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_records: "list[GsaRecordReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.RECORD,
+ type_: "GsaExportFailureType" = GsaExportFailureType.RECORD,
) -> None:
"""GsaRecordExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_records: list[GsaRecordReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_records: list[GsaRecordReference]
self.failed_records = failed_records
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_link_group.py
index 744d89a78..cbba1c4a2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_link_group.py
@@ -68,7 +68,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -79,7 +79,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -105,7 +105,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,13 +118,13 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._link_info: GsaLinkInfo
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -134,7 +134,7 @@ def __init__(
self.link_info = link_info
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -193,32 +193,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ The type_ of this GsaRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_member_criterion.py
index 64bd56979..ff4b64dd6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_member_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_member_criterion.py
@@ -64,12 +64,12 @@ class GsaRecordListMemberCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_list_identifiers": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"record_list_identifiers": "recordListIdentifiers",
}
@@ -80,17 +80,17 @@ class GsaRecordListMemberCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
record_list_identifiers: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordListMemberCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
record_list_identifiers: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._record_list_identifiers: list[str] | None | Unset_Type = Unset
if record_list_identifiers is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_search_criterion.py
index 1155d170a..0c0c75075 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_search_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_list_search_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"contains_records": "list[GsaListItemRecordReference]",
"contains_records_in_databases": "list[str]",
"contains_records_in_integration_schemas": "list[str]",
@@ -80,7 +80,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"contains_records": "containsRecords",
"contains_records_in_databases": "containsRecordsInDatabases",
"contains_records_in_integration_schemas": "containsRecordsInIntegrationSchemas",
@@ -104,7 +104,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "recordList",
+ type_: "str" = "recordList",
contains_records: "list[GsaListItemRecordReference] | None | Unset_Type" = Unset,
contains_records_in_databases: "list[str] | None | Unset_Type" = Unset,
contains_records_in_integration_schemas: "list[str] | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
contains_records: list[GsaListItemRecordReference] | None, optional
contains_records_in_databases: list[str] | None, optional
contains_records_in_integration_schemas: list[str] | None, optional
@@ -134,7 +134,7 @@ def __init__(
user_can_add_or_remove_items: bool | None, optional
user_role: GsaUserRole, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name_contains: str | None | Unset_Type = Unset
self._user_role: GsaUserRole | Unset_Type = Unset
self._is_published: bool | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_criterion.py
index 4234be35a..800886261 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_criterion.py
@@ -65,14 +65,14 @@ class GsaRecordPropertyCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaCriterionType",
+ "property_": "GsaSearchableRecordProperty",
}
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
}
subtype_mapping: dict[str, str] = {
@@ -86,49 +86,49 @@ def __init__(
self,
*,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
) -> None:
"""GsaRecordPropertyCriterion - a model defined in Swagger
Parameters
----------
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaCriterionType
+ property_: GsaSearchableRecordProperty, optional
"""
- super().__init__(type=type)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._inner_criterion: GsaDatumCriterion
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
self.inner_criterion = inner_criterion
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertyCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertyCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ The property_ of this GsaRecordPropertyCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertyCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertyCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertyCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def inner_criterion(self) -> "GsaDatumCriterion":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_sort_criterion.py
index 73e07ac99..1acff3b09 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_property_sort_criterion.py
@@ -68,15 +68,15 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaSortCriterionType",
+ "property_": "GsaSearchableRecordProperty",
"sort_direction": "GsaSortDirection",
"sort_type": "GsaSortType",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
"sort_direction": "sortDirection",
"sort_type": "sortType",
}
@@ -91,8 +91,8 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
sort_type: "GsaSortType | Unset_Type" = Unset,
) -> None:
@@ -100,44 +100,44 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaSortCriterionType
+ property_: GsaSearchableRecordProperty, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_, sort_direction=sort_direction)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._sort_type: GsaSortType | Unset_Type = Unset
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
if sort_type is not Unset:
self.sort_type = sort_type
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertySortCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertySortCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ The property_ of this GsaRecordPropertySortCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertySortCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertySortCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertySortCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def sort_type(self) -> "GsaSortType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_reference_criterion.py
index 75a01b9fd..4f00c52c5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_reference_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_reference_criterion.py
@@ -65,14 +65,14 @@ class GsaRecordReferenceCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_guid": "str",
"record_history_guid": "str",
}
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "type": "type",
+ "type_": "type",
"record_guid": "recordGuid",
"record_history_guid": "recordHistoryGuid",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
database_key: "str",
- type: "GsaCriterionType" = GsaCriterionType.REFERENCE,
+ type_: "GsaCriterionType" = GsaCriterionType.REFERENCE,
record_guid: "str | None | Unset_Type" = Unset,
record_history_guid: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
database_key: str
- type: GsaCriterionType
+ type_: GsaCriterionType
record_guid: str | None, optional
record_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._database_key: str
self._record_history_guid: str | None | Unset_Type = Unset
self._record_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_subset_criterion.py
index a276cf3c3..bb1bab1bc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_subset_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_record_subset_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordSubsetCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"subset_guid": "str",
"subset_identity": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"subset_guid": "subsetGuid",
"subset_identity": "subsetIdentity",
}
@@ -82,7 +82,7 @@ class GsaRecordSubsetCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.SUBSET,
+ type_: "GsaCriterionType" = GsaCriterionType.SUBSET,
subset_guid: "str | None | Unset_Type" = Unset,
subset_identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
subset_guid: str | None, optional
subset_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._subset_identity: int | None | Unset_Type = Unset
self._subset_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_relevance_sort_criterion.py
index 1fe6fec7b..f2bd1824e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_relevance_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_relevance_sort_criterion.py
@@ -68,12 +68,12 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -84,17 +84,17 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaRelevanceSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_resolved_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_resolved_link.py
index 1630bdea1..5728df8ae 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_resolved_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_resolved_link.py
@@ -66,7 +66,7 @@ class GsaResolvedLink(ModelBase):
"link_info": "GsaResolvedLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -77,7 +77,7 @@ class GsaResolvedLink(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -97,7 +97,7 @@ def __init__(
link_info: "GsaResolvedLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType",
+ type_: "GsaLinkAttributeType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -110,12 +110,12 @@ def __init__(
link_info: GsaResolvedLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaLinkAttributeType
+ self._type_: GsaLinkAttributeType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._link_info: GsaResolvedLinkInfo
@@ -125,7 +125,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -157,32 +157,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaLinkAttributeType":
- """Gets the type of this GsaResolvedLink.
+ def type_(self) -> "GsaLinkAttributeType":
+ """Gets the type_ of this GsaResolvedLink.
Returns
-------
GsaLinkAttributeType
- The type of this GsaResolvedLink.
+ The type_ of this GsaResolvedLink.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaLinkAttributeType") -> None:
- """Sets the type of this GsaResolvedLink.
+ @type_.setter
+ def type_(self, type_: "GsaLinkAttributeType") -> None:
+ """Sets the type_ of this GsaResolvedLink.
Parameters
----------
- type: GsaLinkAttributeType
- The type of this GsaResolvedLink.
+ type_: GsaLinkAttributeType
+ The type_ of this GsaResolvedLink.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rich_text_value.py
index dda192d83..c9064965c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rich_text_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rich_text_value.py
@@ -62,12 +62,12 @@ class GsaRichTextValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"text": "str",
- "type": "GsaRichTextType",
+ "type_": "GsaRichTextType",
}
attribute_map: dict[str, str] = {
"text": "text",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -80,20 +80,20 @@ def __init__(
self,
*,
text: "str",
- type: "GsaRichTextType",
+ type_: "GsaRichTextType",
) -> None:
"""GsaRichTextValue - a model defined in Swagger
Parameters
----------
text: str
- type: GsaRichTextType
+ type_: GsaRichTextType
"""
self._text: str
- self._type: GsaRichTextType
+ self._type_: GsaRichTextType
self.text = text
- self.type = type
+ self.type_ = type_
@property
def text(self) -> "str":
@@ -124,32 +124,32 @@ def text(self, text: "str") -> None:
self._text = text
@property
- def type(self) -> "GsaRichTextType":
- """Gets the type of this GsaRichTextValue.
+ def type_(self) -> "GsaRichTextType":
+ """Gets the type_ of this GsaRichTextValue.
Returns
-------
GsaRichTextType
- The type of this GsaRichTextValue.
+ The type_ of this GsaRichTextValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRichTextType") -> None:
- """Sets the type of this GsaRichTextValue.
+ @type_.setter
+ def type_(self, type_: "GsaRichTextType") -> None:
+ """Sets the type_ of this GsaRichTextValue.
Parameters
----------
- type: GsaRichTextType
- The type of this GsaRichTextValue.
+ type_: GsaRichTextType
+ The type_ of this GsaRichTextValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rollup_export_failure.py
index 433bf8c75..4f67545ff 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rollup_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_rollup_export_failure.py
@@ -71,14 +71,14 @@ class GsaRollupExportFailure(GsaExportFailure):
"failed_rollup": "GsaRollupReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_rollup": "failedRollup",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_rollup: "GsaRollupReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
) -> None:
"""GsaRollupExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_rollup: GsaRollupReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_rollup: GsaRollupReference
self.failed_rollup = failed_rollup
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_search_result.py
index c222c560c..6bb611450 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_search_result.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_search_result.py
@@ -73,7 +73,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "str",
"table_identity": "int",
"tree_name": "str",
- "type": "GsaRecordType",
+ "type_": "GsaRecordType",
"version_control_state": "str",
"version_number": "int",
}
@@ -91,7 +91,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "tableGuid",
"table_identity": "tableIdentity",
"tree_name": "treeName",
- "type": "type",
+ "type_": "type",
"version_control_state": "versionControlState",
"version_number": "versionNumber",
}
@@ -118,7 +118,7 @@ def __init__(
table_guid: "str | Unset_Type" = Unset,
table_identity: "int | Unset_Type" = Unset,
tree_name: "str | None | Unset_Type" = Unset,
- type: "GsaRecordType | Unset_Type" = Unset,
+ type_: "GsaRecordType | Unset_Type" = Unset,
version_control_state: "str | None | Unset_Type" = Unset,
version_number: "int | Unset_Type" = Unset,
) -> None:
@@ -138,7 +138,7 @@ def __init__(
table_guid: str, optional
table_identity: int, optional
tree_name: str | None, optional
- type: GsaRecordType, optional
+ type_: GsaRecordType, optional
version_control_state: str | None, optional
version_number: int, optional
"""
@@ -154,7 +154,7 @@ def __init__(
self._version_control_state: str | None | Unset_Type = Unset
self._version_number: int | Unset_Type = Unset
self._parent_guid: str | None | Unset_Type = Unset
- self._type: GsaRecordType | Unset_Type = Unset
+ self._type_: GsaRecordType | Unset_Type = Unset
self._score: float | None | Unset_Type = Unset
self._sorting_value: GsaSortingValue | Unset_Type = Unset
@@ -181,8 +181,8 @@ def __init__(
self.version_number = version_number
if parent_guid is not Unset:
self.parent_guid = parent_guid
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if score is not Unset:
self.score = score
if sorting_value is not Unset:
@@ -474,29 +474,29 @@ def parent_guid(self, parent_guid: "str | None | Unset_Type") -> None:
self._parent_guid = parent_guid
@property
- def type(self) -> "GsaRecordType | Unset_Type":
- """Gets the type of this GsaSearchResult.
+ def type_(self) -> "GsaRecordType | Unset_Type":
+ """Gets the type_ of this GsaSearchResult.
Returns
-------
GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ The type_ of this GsaSearchResult.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordType | Unset_Type") -> None:
- """Sets the type of this GsaSearchResult.
+ @type_.setter
+ def type_(self, type_: "GsaRecordType | Unset_Type") -> None:
+ """Sets the type_ of this GsaSearchResult.
Parameters
----------
- type: GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ type_: GsaRecordType | Unset_Type
+ The type_ of this GsaSearchResult.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def score(self) -> "float | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_aggregation_datum_criterion.py
index 75f2c55df..350ac626e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_attribute.py
index 63189154d..ed434b95c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_attribute.py
@@ -72,7 +72,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"data_rule": "GsaSlimNamedEntity",
@@ -88,7 +88,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -112,7 +112,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
data_rule: "GsaSlimNamedEntity | Unset_Type" = Unset,
@@ -130,7 +130,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
data_rule: GsaSlimNamedEntity, optional
@@ -144,7 +144,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_criterion.py
index 7a509fa92..b3444957f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_exists_criterion.py
index 074fe2f95..cfc81db4b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
) -> None:
"""GsaShortTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_prefix_datum_criterion.py
index 0e609b135..6555812dd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_short_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaShortTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
) -> None:
"""GsaShortTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_attribute.py
index 3c389fc5c..10bead26f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_attribute.py
@@ -66,7 +66,7 @@ class GsaSlimAttribute(ModelBase):
"is_hidden_from_search_criteria": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
}
@@ -76,7 +76,7 @@ class GsaSlimAttribute(ModelBase):
"is_hidden_from_search_criteria": "isHiddenFromSearchCriteria",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
}
@@ -96,7 +96,7 @@ def __init__(
is_hidden_from_search_criteria: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
) -> None:
"""GsaSlimAttribute - a model defined in Swagger
@@ -108,10 +108,10 @@ def __init__(
is_hidden_from_search_criteria: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._table: GsaSlimEntity
@@ -119,7 +119,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -129,32 +129,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttribute.
+ The type_ of this GsaSlimAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_parameter.py
index ad5bbdee1..6ba7260f1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_parameter.py
@@ -64,14 +64,14 @@ class GsaSlimParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaSlimParameter - a model defined in Swagger
@@ -95,45 +95,45 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameter.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameter.
+ The type_ of this GsaSlimParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameter.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_record_link_group.py
index 7f4bfe06e..12d597888 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_record_link_group.py
@@ -65,7 +65,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "str",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -75,7 +75,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -93,7 +93,7 @@ def __init__(
guid: "str",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -105,12 +105,12 @@ def __init__(
guid: str
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -119,7 +119,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -150,32 +150,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaSlimRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaSlimRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ The type_ of this GsaSlimRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaSlimRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaSlimRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaSlimRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_typed_attribute.py
index 25dedd3fd..38a4352e4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_slim_typed_attribute.py
@@ -63,13 +63,13 @@ class GsaSlimTypedAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -83,7 +83,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaSlimTypedAttribute - a model defined in Swagger
@@ -91,43 +91,43 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimTypedAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ The type_ of this GsaSlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sort_criterion.py
index 0c87eb490..992848ef8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sort_criterion.py
@@ -63,12 +63,12 @@ class GsaSortCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -88,22 +88,22 @@ class GsaSortCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaSortCriterionType",
+ type_: "GsaSortCriterionType",
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
self._sort_direction: GsaSortDirection | Unset_Type = Unset
- self._type: GsaSortCriterionType
+ self._type_: GsaSortCriterionType
if sort_direction is not Unset:
self.sort_direction = sort_direction
- self.type = type
+ self.type_ = type_
@property
def sort_direction(self) -> "GsaSortDirection | Unset_Type":
@@ -131,32 +131,32 @@ def sort_direction(self, sort_direction: "GsaSortDirection | Unset_Type") -> Non
self._sort_direction = sort_direction
@property
- def type(self) -> "GsaSortCriterionType":
- """Gets the type of this GsaSortCriterion.
+ def type_(self) -> "GsaSortCriterionType":
+ """Gets the type_ of this GsaSortCriterion.
Returns
-------
GsaSortCriterionType
- The type of this GsaSortCriterion.
+ The type_ of this GsaSortCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortCriterionType") -> None:
- """Sets the type of this GsaSortCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaSortCriterionType") -> None:
+ """Sets the type_ of this GsaSortCriterion.
Parameters
----------
- type: GsaSortCriterionType
- The type of this GsaSortCriterion.
+ type_: GsaSortCriterionType
+ The type_ of this GsaSortCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sorting_value.py
index 70a059090..5dc7d0685 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_sorting_value.py
@@ -63,11 +63,11 @@ class GsaSortingValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,45 +85,45 @@ class GsaSortingValue(ModelBase):
def __init__(
self,
*,
- type: "GsaSortingValueType",
+ type_: "GsaSortingValueType",
) -> None:
"""GsaSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
"""
- self._type: GsaSortingValueType
+ self._type_: GsaSortingValueType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaSortingValueType":
- """Gets the type of this GsaSortingValue.
+ def type_(self) -> "GsaSortingValueType":
+ """Gets the type_ of this GsaSortingValue.
Returns
-------
GsaSortingValueType
- The type of this GsaSortingValue.
+ The type_ of this GsaSortingValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortingValueType") -> None:
- """Sets the type of this GsaSortingValue.
+ @type_.setter
+ def type_(self, type_: "GsaSortingValueType") -> None:
+ """Sets the type_ of this GsaSortingValue.
Parameters
----------
- type: GsaSortingValueType
- The type of this GsaSortingValue.
+ type_: GsaSortingValueType
+ The type_ of this GsaSortingValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_static_record_link_group.py
index 2593244fe..f73522d69 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_static_record_link_group.py
@@ -74,7 +74,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_string_sorting_value.py
index b73c4bde7..32f76c05c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_string_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_string_sorting_value.py
@@ -68,12 +68,12 @@ class GsaStringSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaStringSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.TEXT,
+ type_: "GsaSortingValueType" = GsaSortingValueType.TEXT,
value: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaStringSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_attribute.py
index 7cc442a8e..cd9d1d263 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_attribute.py
@@ -75,7 +75,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "str",
"table": "GsaSlimEntity",
"tabular_columns": "list[GsaTabularColumn]",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -94,7 +94,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "name",
"table": "table",
"tabular_columns": "tabularColumns",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -122,7 +122,7 @@ def __init__(
name: "str",
table: "GsaSlimEntity",
tabular_columns: "list[GsaTabularColumn]",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -143,7 +143,7 @@ def __init__(
name: str
table: GsaSlimEntity
tabular_columns: list[GsaTabularColumn]
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -157,7 +157,7 @@ def __init__(
is_hidden_from_search_criteria=is_hidden_from_search_criteria,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_datum_exists_criterion.py
index b2dde3419..b951d48dc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.TABULAR,
+ type_: "GsaAttributeType" = GsaAttributeType.TABULAR,
) -> None:
"""GsaTabularDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_linking_value_criterion.py
index 78a7edbe5..739ec44ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_linking_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_tabular_linking_value_criterion.py
@@ -64,13 +64,13 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"values": "list[str]",
"linking_value_match_behavior": "GsaLinkingValueMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"values": "values",
"linking_value_match_behavior": "linkingValueMatchBehavior",
}
@@ -84,7 +84,7 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
+ type_: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
values: "list[str]",
linking_value_match_behavior: "GsaLinkingValueMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
values: list[str]
linking_value_match_behavior: GsaLinkingValueMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._values: list[str]
self._linking_value_match_behavior: GsaLinkingValueMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_attribute.py
index a31604e38..78b07e8ee 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_attribute.py
@@ -63,7 +63,7 @@ class GsaUpdateAttribute(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -74,7 +74,7 @@ class GsaUpdateAttribute(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -114,7 +114,7 @@ class GsaUpdateAttribute(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -127,7 +127,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -136,7 +136,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
name: str, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._axis_name: GsaUpdateAxisName | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
@@ -145,7 +145,7 @@ def __init__(
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if axis_name is not Unset:
@@ -162,32 +162,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaUpdateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaUpdateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaUpdateAttribute.
+ The type_ of this GsaUpdateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaUpdateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaUpdateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaUpdateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaUpdateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_cross_database_record_link_group.py
index 4e2d6259f..675b5d883 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_cross_database_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_date_time_attribute.py
index 0bccc0c5b..f3a58ec7c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_date_time_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_attribute.py
index f082f8ed8..e560825a7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute.py
index d2f57e7ff..7aeea9fe0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]",
"axis_name": "GsaUpdateAxisName",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -98,7 +98,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateDiscreteFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional
axis_name: GsaUpdateAxisName, optional
@@ -123,7 +123,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
index caabcd715..dbc8368d0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
index 808899930..6dfb049ba 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_parameter.py
index d96e75055..2874b3351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter.py
index 39b2971e2..ae60ea69a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -74,7 +74,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -88,7 +88,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -98,14 +98,14 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_content.py
index 8d60d89e9..03470251b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateDiscreteParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaUpdateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaUpdateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_value.py
index 2938cacae..6c17ba396 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_discrete_parameter_value.py
@@ -68,13 +68,13 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
}
@@ -86,7 +86,7 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str | Unset_Type = Unset
if name is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_dynamic_record_link_group.py
index c60b7ae08..f31adc93f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_dynamic_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_dynamic_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"attribute_pairs": "list[GsaCreateAttributeLinkPair]",
"forbid_orphans": "bool",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_pairs": "attributePairs",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
@@ -97,7 +97,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC,
attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" = Unset,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -109,7 +109,7 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
attribute_pairs: list[GsaCreateAttributeLinkPair], optional
forbid_orphans: bool, optional
guid: str, optional
@@ -117,7 +117,7 @@ def __init__(
referential_integrity_model: GsaReferentialIntegrityModel, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
self._attribute_pairs: list[GsaCreateAttributeLinkPair] | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_file_attribute.py
index 42f283e0d..1a178b7b1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_file_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute.py
index cfdb67216..99ce022af 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]",
"axis_name": "GsaUpdateAxisName",
@@ -80,7 +80,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -103,7 +103,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateFloatFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional
axis_name: GsaUpdateAxisName, optional
@@ -132,7 +132,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_discrete_parameter.py
index d262bb2bb..f3743df70 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_numeric_parameter.py
index 1a8b1c616..38362acac 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_parameter.py
index b83dc1c03..f8b7c0f8a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_hyperlink_attribute.py
index 007904f50..b974a0b11 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_hyperlink_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_integer_attribute.py
index fcd775200..9720b29e9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_integer_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_logical_attribute.py
index ac36b0be8..c8c49e738 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_logical_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_long_text_attribute.py
index 404c44127..afc3d7f36 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_long_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_maths_functional_attribute.py
index 95029b708..120b94fd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_maths_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
@@ -85,7 +85,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
@@ -115,7 +115,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
@@ -136,7 +136,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
@@ -154,7 +154,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter.py
index 5357ec71a..c5b1d2076 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -77,7 +77,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -98,7 +98,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
@@ -121,7 +121,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
guid=guid,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_content.py
index dfa22faa5..11fed2cd7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateNumericParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaUpdateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaUpdateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_value.py
index be22bffdf..9c872bd9e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"value": "value",
@@ -88,7 +88,7 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
value: "float | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str | None, optional
value: float, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter.py
index b5562929a..8bb770ce5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter.py
@@ -63,7 +63,7 @@ class GsaUpdateParameter(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"guid": "str",
"help_path": "str",
@@ -71,7 +71,7 @@ class GsaUpdateParameter(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"guid": "guid",
"help_path": "helpPath",
@@ -92,7 +92,7 @@ class GsaUpdateParameter(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterType",
+ type_: "GsaParameterType",
default_parameter_value_guid: "str | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -102,19 +102,19 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
guid: str, optional
help_path: str | None, optional
name: str, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
if default_parameter_value_guid is not Unset:
@@ -125,32 +125,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameter.
+ The type_ of this GsaUpdateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_content.py
index 1848c7964..f3c032bda 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_content.py
@@ -64,12 +64,12 @@ class GsaUpdateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameterContent.
+ The type_ of this GsaUpdateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_value.py
index 1d0863d09..6ac267436 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_parameter_value.py
@@ -63,12 +63,12 @@ class GsaUpdateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaUpdateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaUpdateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaUpdateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaUpdateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ The type_ of this GsaUpdateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaUpdateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaUpdateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaUpdateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_picture_attribute.py
index 50278e92b..675d72d08 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_picture_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -77,7 +77,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -94,7 +94,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_point_attribute.py
index 2672946e0..7260dd1e0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_point_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaUpdateAxisName",
@@ -80,7 +80,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -103,7 +103,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaUpdateAxisName, optional
@@ -132,7 +132,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_range_attribute.py
index bdad91cfe..5369ad478 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_range_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -98,7 +98,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -123,7 +123,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_record_link_group.py
index 9965a279e..3cc79158b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_record_link_group.py
@@ -63,14 +63,14 @@ class GsaUpdateRecordLinkGroup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"name": "str",
"reverse_name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
@@ -91,7 +91,7 @@ class GsaUpdateRecordLinkGroup(ModelBase):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
reverse_name: "str | Unset_Type" = Unset,
@@ -100,17 +100,17 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
name: str, optional
reverse_name: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if reverse_name is not Unset:
self.reverse_name = reverse_name
if name is not Unset:
@@ -119,32 +119,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaUpdateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaUpdateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaUpdateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaUpdateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_short_text_attribute.py
index 900b05eda..89ad95bdd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_short_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"data_rule": "GsaSlimEntity",
@@ -79,7 +79,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -100,7 +100,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
data_rule: GsaSlimEntity, optional
@@ -127,7 +127,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_static_record_link_group.py
index 3f0386a9c..3ce4b3240 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_static_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_tabular_attribute.py
index 10c78e1ad..f1fb40e01 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2025r2/models/gsa_update_tabular_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -82,7 +82,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -107,7 +107,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -140,7 +140,7 @@ def __init__(
target: GsaUpdateTabularAttributeTarget, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/job_queue_api.py
index f443d2f9b..1922c8331 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/job_queue_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/job_queue_api.py
@@ -120,24 +120,24 @@ def _create_job_with_http_info(
response_type_map=response_type_map,
)
- def delete_job(self, *, id: "str") -> "None":
+ def delete_job(self, *, id_: "str") -> "None":
"""Delete a job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._delete_job_with_http_info(id, _return_http_data_only=True)
+ data = self._delete_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _delete_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -145,15 +145,15 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'delete_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'delete_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -319,24 +319,24 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job(self, *, id: "str") -> "GsaJob | None":
+ def get_job(self, *, id_: "str") -> "GsaJob | None":
"""Get job by ID.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaJob | None
"""
- data = self._get_job_with_http_info(id, _return_http_data_only=True)
+ data = self._get_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -344,15 +344,15 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'get_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'get_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -388,28 +388,28 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job_output_file(self, *, id: "str", file_name: "str") -> "None | str":
+ def get_job_output_file(self, *, id_: "str", file_name: "str") -> "None | str":
"""Retrieve a job output file.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
file_name: str
Returns
-------
None | str
"""
- data = self._get_job_output_file_with_http_info(id, file_name, _return_http_data_only=True)
+ data = self._get_job_output_file_with_http_info(id_, file_name, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _get_job_output_file_with_http_info(
- self, id: "str", file_name: "str", **kwargs: Any
+ self, id_: "str", file_name: "str", **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"file_name",
"_return_http_data_only",
"_preload_content",
@@ -424,10 +424,10 @@ def _get_job_output_file_with_http_info(
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_job_output_file'"
+ "Missing the required parameter 'id_' when calling 'get_job_output_file'"
)
# verify the required parameter "file_name" is set
if "file_name" not in params or params["file_name"] is None:
@@ -438,8 +438,8 @@ def _get_job_output_file_with_http_info(
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
if "file_name" in params and file_name is not None:
@@ -598,24 +598,24 @@ def _get_jobs_with_http_info(
response_type_map=response_type_map,
)
- def get_output_filenames(self, *, id: "str") -> "None | list[str]":
+ def get_output_filenames(self, *, id_: "str") -> "None | list[str]":
"""Get a job's output filenames.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None | list[str]
"""
- data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True)
+ data = self._get_output_filenames_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_output_filenames_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -625,17 +625,17 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_output_filenames'"
+ "Missing the required parameter 'id_' when calling 'get_output_filenames'"
)
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -732,24 +732,24 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def move_to_top(self, *, id: "str") -> "None":
+ def move_to_top(self, *, id_: "str") -> "None":
"""Move a job to the top of the queue (actually sets the scheduled execution date to now, could be done with patch method).
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._move_to_top_with_http_info(id, _return_http_data_only=True)
+ data = self._move_to_top_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _move_to_top_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -757,15 +757,15 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method move_to_top")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'move_to_top'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -797,24 +797,24 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def restore_job(self, *, id: "str") -> "GsaCreateJobRequest | None":
+ def restore_job(self, *, id_: "str") -> "GsaCreateJobRequest | None":
"""Get a job creation object based on an existing job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaCreateJobRequest | None
"""
- data = self._restore_job_with_http_info(id, _return_http_data_only=True)
+ data = self._restore_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _restore_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -822,15 +822,15 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method restore_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'restore_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'restore_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -867,7 +867,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
def resubmit(
- self, *, id: "str", body: "Optional[GsaResubmitJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None
) -> "GsaJob | None":
"""Resubmit a job.
@@ -875,21 +875,21 @@ def resubmit(
Parameters
----------
- id: str
+ id_: str
body: GsaResubmitJobRequest
Returns
-------
GsaJob | None
"""
- data = self._resubmit_with_http_info(id, body, _return_http_data_only=True)
+ data = self._resubmit_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _resubmit_with_http_info(
- self, id: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -902,15 +902,15 @@ def _resubmit_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method resubmit")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'resubmit'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'resubmit'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -954,7 +954,7 @@ def _resubmit_with_http_info(
)
def update_job(
- self, *, id: "str", body: "Optional[GsaUpdateJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None
) -> "GsaJob | None":
"""Update a job.
@@ -962,21 +962,21 @@ def update_job(
Parameters
----------
- id: str
+ id_: str
body: GsaUpdateJobRequest
Returns
-------
GsaJob | None
"""
- data = self._update_job_with_http_info(id, body, _return_http_data_only=True)
+ data = self._update_job_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _update_job_with_http_info(
- self, id: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -989,15 +989,15 @@ def _update_job_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'update_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'update_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py
index 76a00ac7e..e2e5c689d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py
@@ -527,7 +527,7 @@ def get_outbound_links(
self,
*,
database_key: "str",
- type: "Optional[list[str]]" = None,
+ type_: "Optional[list[str]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
) -> "GsaLinksInfo | None":
@@ -539,7 +539,7 @@ def get_outbound_links(
----------
database_key: str
See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)
- type: list[str]
+ type_: list[str]
The link attribute types as entered
mode: str
The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.
@@ -551,21 +551,21 @@ def get_outbound_links(
GsaLinksInfo | None
"""
data = self._get_outbound_links_with_http_info(
- database_key, type, mode, x_ansys_vc_mode, _return_http_data_only=True
+ database_key, type_, mode, x_ansys_vc_mode, _return_http_data_only=True
)
return data # type: ignore[no-any-return]
def _get_outbound_links_with_http_info(
self,
database_key: "str",
- type: "Optional[list[str]]" = None,
+ type_: "Optional[list[str]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
**kwargs: Any,
) -> Any:
all_params = [
"database_key",
- "type",
+ "type_",
"mode",
"x_ansys_vc_mode",
"_return_http_data_only",
@@ -594,8 +594,8 @@ def _get_outbound_links_with_http_info(
path_params["database-key"] = params["database_key"]
query_params: list[Any] = []
- if "type" in params and type is not None:
- query_params.append(("type", params["type"]))
+ if "type_" in params and type_ is not None:
+ query_params.append(("type", params["type_"]))
collection_formats["type"] = "multi"
if "mode" in params and mode is not None:
query_params.append(("mode", params["mode"]))
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py
index bd4513441..dfa091bf9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py
@@ -335,7 +335,7 @@ def get_inbound_links(
*,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
) -> "GsaLinksInfo | None":
@@ -349,7 +349,7 @@ def get_inbound_links(
See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)
table_guid: str
See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)
- type: list[GsaLinkAttributeType]
+ type_: list[GsaLinkAttributeType]
The link types to include in the response. If not provided, all link types are included.
mode: str
The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.
@@ -361,7 +361,7 @@ def get_inbound_links(
GsaLinksInfo | None
"""
data = self._get_inbound_links_with_http_info(
- database_key, table_guid, type, mode, x_ansys_vc_mode, _return_http_data_only=True
+ database_key, table_guid, type_, mode, x_ansys_vc_mode, _return_http_data_only=True
)
return data # type: ignore[no-any-return]
@@ -369,7 +369,7 @@ def _get_inbound_links_with_http_info(
self,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
**kwargs: Any,
@@ -377,7 +377,7 @@ def _get_inbound_links_with_http_info(
all_params = [
"database_key",
"table_guid",
- "type",
+ "type_",
"mode",
"x_ansys_vc_mode",
"_return_http_data_only",
@@ -413,8 +413,8 @@ def _get_inbound_links_with_http_info(
path_params["table-guid"] = params["table_guid"]
query_params: list[Any] = []
- if "type" in params and type is not None:
- query_params.append(("type", params["type"]))
+ if "type_" in params and type_ is not None:
+ query_params.append(("type", params["type_"]))
collection_formats["type"] = "multi"
if "mode" in params and mode is not None:
query_params.append(("mode", params["mode"]))
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py
index 96c6364f2..89da7fb72 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py
@@ -61,16 +61,16 @@ class GsaActivityLogEntry(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "_date": "datetime",
"application_names": "list[str]",
+ "date_": "datetime",
"usage_mode": "GsaActivityLogUsageMode",
"username": "str",
"database_key": "str",
}
attribute_map: dict[str, str] = {
- "_date": "date",
"application_names": "applicationNames",
+ "date_": "date",
"usage_mode": "usageMode",
"username": "username",
"database_key": "databaseKey",
@@ -85,8 +85,8 @@ class GsaActivityLogEntry(ModelBase):
def __init__(
self,
*,
- _date: "datetime",
application_names: "list[str]",
+ date_: "datetime",
usage_mode: "GsaActivityLogUsageMode",
username: "str",
database_key: "str | None | Unset_Type" = Unset,
@@ -95,19 +95,19 @@ def __init__(
Parameters
----------
- _date: datetime
application_names: list[str]
+ date_: datetime
usage_mode: GsaActivityLogUsageMode
username: str
database_key: str | None, optional
"""
- self.__date: datetime
+ self._date_: datetime
self._username: str
self._application_names: list[str]
self._database_key: str | None | Unset_Type = Unset
self._usage_mode: GsaActivityLogUsageMode
- self._date = _date
+ self.date_ = date_
self.username = username
self.application_names = application_names
if database_key is not Unset:
@@ -115,32 +115,32 @@ def __init__(
self.usage_mode = usage_mode
@property
- def _date(self) -> "datetime":
- """Gets the _date of this GsaActivityLogEntry.
+ def date_(self) -> "datetime":
+ """Gets the date_ of this GsaActivityLogEntry.
Returns
-------
datetime
- The _date of this GsaActivityLogEntry.
+ The date_ of this GsaActivityLogEntry.
"""
- return self.__date
+ return self._date_
- @_date.setter
- def _date(self, _date: "datetime") -> None:
- """Sets the _date of this GsaActivityLogEntry.
+ @date_.setter
+ def date_(self, date_: "datetime") -> None:
+ """Sets the date_ of this GsaActivityLogEntry.
Parameters
----------
- _date: datetime
- The _date of this GsaActivityLogEntry.
+ date_: datetime
+ The date_ of this GsaActivityLogEntry.
"""
# Field is not nullable
- if _date is None:
- raise ValueError("Invalid value for '_date', must not be 'None'")
+ if date_ is None:
+ raise ValueError("Invalid value for 'date_', must not be 'None'")
# Field is required
- if _date is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for '_date', must not be 'Unset'")
- self.__date = _date
+ if date_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'date_', must not be 'Unset'")
+ self._date_ = date_
@property
def username(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation.py
index b74486ef8..a6e56f2f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation.py
@@ -63,11 +63,11 @@ class GsaAggregation(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregation(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregation - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregation.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregation.
Returns
-------
GsaAggregationType
- The type of this GsaAggregation.
+ The type_ of this GsaAggregation.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregation.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregation.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregation.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregation.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_criterion.py
index 3351e9506..ba377ad6a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregationCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregationCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregationCriterion.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregationCriterion.
Returns
-------
GsaAggregationType
- The type of this GsaAggregationCriterion.
+ The type_ of this GsaAggregationCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregationCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregationCriterion.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregationCriterion.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregationCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_criterion.py
index 7a370a5be..def10253f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -100,45 +100,45 @@ class GsaAggregationDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType",
+ type_: "GsaAggregationDatumCriterionType",
) -> None:
"""GsaAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- self._type: GsaAggregationDatumCriterionType
+ self._type_: GsaAggregationDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationDatumCriterionType":
- """Gets the type of this GsaAggregationDatumCriterion.
+ def type_(self) -> "GsaAggregationDatumCriterionType":
+ """Gets the type_ of this GsaAggregationDatumCriterion.
Returns
-------
GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ The type_ of this GsaAggregationDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationDatumCriterionType") -> None:
- """Sets the type of this GsaAggregationDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationDatumCriterionType") -> None:
+ """Sets the type_ of this GsaAggregationDatumCriterion.
Parameters
----------
- type: GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ type_: GsaAggregationDatumCriterionType
+ The type_ of this GsaAggregationDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_exists_criterion.py
index 03b4a3000..ee8620979 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_aggregation_datum_exists_criterion.py
@@ -61,11 +61,11 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -77,43 +77,43 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaAggregationDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaAggregationDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaAggregationDatumExistsCriterion.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaAggregationDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaAggregationDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py
index a5d69fa1b..62062b532 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py
@@ -71,7 +71,7 @@ class GsaAttribute(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -86,7 +86,7 @@ class GsaAttribute(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -132,7 +132,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -149,7 +149,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -158,7 +158,7 @@ def __init__(
self._axis_name: GsaAxisName | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._info: GsaAttributeInfo
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -173,7 +173,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
self.info = info
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -287,32 +287,32 @@ def info(self, info: "GsaAttributeInfo") -> None:
self._info = info
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaAttribute.
+ The type_ of this GsaAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation.py
index c7fd17eee..4106b35a0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregation(GsaAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -77,7 +77,7 @@ class GsaAttributeAggregation(GsaAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_identity: int | None | Unset_Type = Unset
self._attribute_guid: str | None | Unset_Type = Unset
self._attribute_aggregation_type: GsaAttributeAggregationType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_criterion.py
index 922f03d13..d8ba0582d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_criterion.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -77,7 +77,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_exists_criterion.py
index 814d4f3b5..61923959a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
"inner_criterion": "GsaAggregationDatumExistsCriterion",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
inner_criterion: "GsaAggregationDatumExistsCriterion",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
inner_criterion: GsaAggregationDatumExistsCriterion
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_value_criterion.py
index d273d085e..942e62469 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_aggregation_value_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"inner_criterion": "GsaAggregationDatumCriterion",
@@ -79,7 +79,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"inner_criterion": "innerCriterion",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
inner_criterion: "GsaAggregationDatumCriterion | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
inner_criterion: GsaAggregationDatumCriterion, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_criterion.py
index 5060d114e..8046e73db 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_criterion.py
@@ -67,7 +67,7 @@ class GsaAttributeCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -75,7 +75,7 @@ class GsaAttributeCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -107,12 +107,12 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_aggregation.py
index 68d84c521..5471513a9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_criterion.py
index 63c2682c4..4bfe567a2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumExistsCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.EXISTS,
inner_criterion: "GsaDatumExistsCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumExistsCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_export_failure.py
index 6eeef8f49..d547aa842 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_export_failure.py
@@ -71,14 +71,14 @@ class GsaAttributeExportFailure(GsaExportFailure):
"failed_attributes": "list[GsaAttributeReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_attributes": "failedAttributes",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_attributes: "list[GsaAttributeReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
) -> None:
"""GsaAttributeExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_attributes: list[GsaAttributeReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_attributes: list[GsaAttributeReference]
self.failed_attributes = failed_attributes
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_matches_criterion.py
index de0489c2b..3163b2a14 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.MATCHES,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_not_applicable_criterion.py
index 78c30f4b7..e58d191ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_not_applicable_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -78,7 +78,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_sort_criterion.py
index 6e39bc256..c0160837c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_sort_criterion.py
@@ -68,7 +68,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"attribute_type": "GsaAttributeType",
"guid": "str",
"identity": "int",
@@ -77,7 +77,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"guid": "guid",
"identity": "identity",
@@ -95,7 +95,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
@@ -106,14 +106,14 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
attribute_type: GsaAttributeType, optional
guid: str | None, optional
identity: int | None, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._attribute_type: GsaAttributeType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_value_aggregation.py
index ca810d891..d0c284065 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_value_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_value_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"aggregation_datum": "GsaAggregationDatum",
"attribute_guid": "str",
"attribute_identity": "int",
@@ -79,7 +79,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"aggregation_datum": "aggregationDatum",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
aggregation_datum: "GsaAggregationDatum | Unset_Type" = Unset,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
aggregation_datum: GsaAggregationDatum, optional
attribute_guid: str | None, optional
attribute_identity: int | None, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_boolean_criterion.py
index e47316852..29a9a3982 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_boolean_criterion.py
@@ -64,17 +64,17 @@ class GsaBooleanCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
- "_none": "list[GsaCriterion]",
- "all": "list[GsaCriterion]",
- "any": "list[GsaCriterion]",
+ "type_": "GsaCriterionType",
+ "all_": "list[GsaCriterion]",
+ "any_": "list[GsaCriterion]",
+ "none_": "list[GsaCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {
@@ -88,103 +88,103 @@ class GsaBooleanCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
- _none: "list[GsaCriterion] | None | Unset_Type" = Unset,
- all: "list[GsaCriterion] | None | Unset_Type" = Unset,
- any: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
+ all_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ any_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ none_: "list[GsaCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaBooleanCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
- _none: list[GsaCriterion] | None, optional
- all: list[GsaCriterion] | None, optional
- any: list[GsaCriterion] | None, optional
+ type_: GsaCriterionType
+ all_: list[GsaCriterion] | None, optional
+ any_: list[GsaCriterion] | None, optional
+ none_: list[GsaCriterion] | None, optional
"""
- super().__init__(type=type)
- self._all: list[GsaCriterion] | None | Unset_Type = Unset
- self._any: list[GsaCriterion] | None | Unset_Type = Unset
- self.__none: list[GsaCriterion] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._any_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._none_: list[GsaCriterion] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the all of this GsaBooleanCriterion.
+ def all_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ The all_ of this GsaBooleanCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the all of this GsaBooleanCriterion.
+ @all_.setter
+ def all_(self, all_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Parameters
----------
- all: list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ all_: list[GsaCriterion] | None | Unset_Type
+ The all_ of this GsaBooleanCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the any of this GsaBooleanCriterion.
+ def any_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ The any_ of this GsaBooleanCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the any of this GsaBooleanCriterion.
+ @any_.setter
+ def any_(self, any_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Parameters
----------
- any: list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ any_: list[GsaCriterion] | None | Unset_Type
+ The any_ of this GsaBooleanCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the _none of this GsaBooleanCriterion.
+ def none_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ The none_ of this GsaBooleanCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the _none of this GsaBooleanCriterion.
+ @none_.setter
+ def none_(self, none_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Parameters
----------
- _none: list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ none_: list[GsaCriterion] | None | Unset_Type
+ The none_ of this GsaBooleanCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py
index 6f0cd99cb..4b1a6ce6d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py
@@ -64,7 +64,7 @@ class GsaCreateAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -75,7 +75,7 @@ class GsaCreateAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -114,7 +114,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -127,7 +127,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -135,7 +135,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
meta_attributes: list[GsaCreateAttribute] | None, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
@@ -144,7 +144,7 @@ def __init__(
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if help_path is not Unset:
@@ -160,32 +160,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaCreateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaCreateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaCreateAttribute.
+ The type_ of this GsaCreateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaCreateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaCreateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaCreateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaCreateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py
index 46cdfd72d..5420a578c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateCrossDatabaseLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaCreateCrossDatabaseLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -108,11 +108,11 @@ def __init__(
link_target: GsaCreateCrossDatabaseLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateCrossDatabaseLinkTarget
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py
index 6d2c3055c..e6cdd2a66 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py
index da14f5910..d1ed26fee 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -81,7 +81,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -102,7 +102,7 @@ def __init__(
*,
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -117,7 +117,7 @@ def __init__(
----------
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py
index b16622b82..cfe2dd7ba 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py
@@ -69,7 +69,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "list[GsaCreateDiscreteFunctionalAttributeParameter]",
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -82,7 +82,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "attributeParameters",
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -104,7 +104,7 @@ def __init__(
attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]",
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter]
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -129,7 +129,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
index a982ffafd..f061601d5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
index d94931b48..fa6a46844 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_parameter.py
index a76dda37e..59c206e6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter.py
index 848a4e885..627a587b2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateDiscreteParameterValue]",
"guid": "str",
"help_path": "str",
@@ -77,7 +77,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaCreateDiscreteParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -105,7 +105,7 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateDiscreteParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -113,7 +113,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_content.py
index e378d2832..4fe73b5c7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateDiscreteParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaCreateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaCreateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_value.py
index 553871eba..1fb2b5ab0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_parameter_value.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteParameterValue(GsaCreateParameterValue):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteParameterValue - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py
index 407882f33..cde59349d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py
index dd5a188c5..2e0f1eff6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"attribute_parameters": "list[GsaCreateFloatFunctionalAttributeParameter]",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -83,7 +83,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"attribute_parameters": "attributeParameters",
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -108,7 +108,7 @@ def __init__(
*,
attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
----------
attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter]
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -138,7 +138,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
index 09e130129..3fbf12eb8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
index a138688d1..894af111e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_parameter.py
index 5eacf67e2..8e4a4b40c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py
index d4d05babd..1031881be 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py
index f707baba5..4ff1f7614 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -101,7 +101,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_job_request.py
index 7680f2021..a4ad76d0d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_job_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_job_request.py
@@ -67,7 +67,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "str",
"parameters": "str",
"scheduled_execution_date": "datetime",
- "type": "str",
+ "type_": "str",
"version": "int",
}
@@ -78,7 +78,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "name",
"parameters": "parameters",
"scheduled_execution_date": "scheduledExecutionDate",
- "type": "type",
+ "type_": "type",
"version": "version",
}
@@ -95,7 +95,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
parameters: "str | None | Unset_Type" = Unset,
scheduled_execution_date: "datetime | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
version: "int | Unset_Type" = Unset,
) -> None:
"""GsaCreateJobRequest - a model defined in Swagger
@@ -108,13 +108,13 @@ def __init__(
name: str | None, optional
parameters: str | None, optional
scheduled_execution_date: datetime | None, optional
- type: str | None, optional
+ type_: str | None, optional
version: int, optional
"""
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
self._culture: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._version: int | Unset_Type = Unset
self._scheduled_execution_date: datetime | None | Unset_Type = Unset
self._input_file_ids: list[str] | None | Unset_Type = Unset
@@ -126,8 +126,8 @@ def __init__(
self.description = description
if culture is not Unset:
self.culture = culture
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if version is not Unset:
self.version = version
if scheduled_execution_date is not Unset:
@@ -204,26 +204,26 @@ def culture(self, culture: "str | None | Unset_Type") -> None:
self._culture = culture
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaCreateJobRequest.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaCreateJobRequest.
Returns
-------
str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ The type_ of this GsaCreateJobRequest.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaCreateJobRequest.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaCreateJobRequest.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ type_: str | None | Unset_Type
+ The type_ of this GsaCreateJobRequest.
"""
- self._type = type
+ self._type_ = type_
@property
def version(self) -> "int | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py
index 6e802ce25..74cb087b6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py
index 8d3b5d054..6b6226508 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py
index 2b66c6789..3301cac0c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
"allow_extrapolation": "bool",
@@ -87,7 +87,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
"allow_extrapolation": "allowExtrapolation",
@@ -119,7 +119,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
allow_extrapolation: "bool | Unset_Type" = Unset,
@@ -141,7 +141,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
allow_extrapolation: bool, optional
@@ -160,7 +160,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter.py
index b4de36dd5..744e916cf 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateNumericParameterValue]",
"guid": "str",
"help_path": "str",
@@ -84,7 +84,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaCreateNumericParameterValue]",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateNumericParameterValue]
guid: str, optional
help_path: str | None, optional
@@ -132,7 +132,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
help_path=help_path,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_content.py
index f2ab2fb83..f81d3f479 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateNumericParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaCreateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaCreateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_value.py
index 348590518..fce8be54a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"guid": "guid",
"name": "name",
@@ -88,7 +88,7 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
guid: str, optional
name: str | None, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter.py
index 0503ff636..e52a056d3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter.py
@@ -65,7 +65,7 @@ class GsaCreateParameter(ModelBase):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"guid": "str",
"help_path": "str",
}
@@ -73,7 +73,7 @@ class GsaCreateParameter(ModelBase):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"help_path": "helpPath",
}
@@ -94,7 +94,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
guid: "str | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -104,17 +104,17 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
guid: str, optional
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_index: int
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_index = default_parameter_value_index
@@ -123,32 +123,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameter.
+ The type_ of this GsaCreateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_content.py
index aa1acc71c..0b7b9479d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_content.py
@@ -64,12 +64,12 @@ class GsaCreateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameterContent.
+ The type_ of this GsaCreateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_value.py
index eb8e7eea9..1f543e22a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_parameter_value.py
@@ -63,12 +63,12 @@ class GsaCreateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaCreateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaCreateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaCreateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ The type_ of this GsaCreateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaCreateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaCreateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaCreateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py
index d3a892660..6d3539187 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py
index 86a4c6064..742bd5da7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -82,7 +82,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -107,7 +107,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -124,7 +124,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -138,7 +138,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_put_layout_item.py
index 7fbcb13d3..a1b4ae82b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_put_layout_item.py
@@ -67,12 +67,12 @@ class GsaCreatePutLayoutItem(GsaPutLayoutItem):
"""
swagger_types: dict[str, str] = {
"item": "GsaNewLayoutItem",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"item": "item",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,16 +85,16 @@ def __init__(
self,
*,
item: "GsaNewLayoutItem",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
) -> None:
"""GsaCreatePutLayoutItem - a model defined in Swagger
Parameters
----------
item: GsaNewLayoutItem
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._item: GsaNewLayoutItem
self.item = item
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py
index 3faae0d61..07c6101d3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -102,7 +102,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -117,7 +117,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -129,7 +129,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py
index e7255108a..3c6fb59de 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py
@@ -65,14 +65,14 @@ class GsaCreateRecordLinkGroup(ModelBase):
swagger_types: dict[str, str] = {
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -93,7 +93,7 @@ def __init__(
*,
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateRecordLinkGroup - a model defined in Swagger
@@ -102,47 +102,47 @@ def __init__(
----------
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaCreateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaCreateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ The type_ of this GsaCreateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaCreateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaCreateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaCreateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py
index 3fcbc04e8..277004179 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"data_rule": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"data_rule": "dataRule",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -101,7 +101,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
data_rule: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py
index 5b0b0f686..a5d06e5ec 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py
@@ -72,7 +72,7 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateSmartLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"forbid_orphans": "bool",
"guid": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
@@ -83,7 +83,7 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
"referential_integrity_model": "referentialIntegrityModel",
@@ -104,7 +104,7 @@ def __init__(
link_target: "GsaCreateSmartLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset,
@@ -117,12 +117,12 @@ def __init__(
link_target: GsaCreateSmartLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
forbid_orphans: bool, optional
guid: str, optional
referential_integrity_model: GsaReferentialIntegrityModel, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateSmartLinkTarget
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py
index 9cefb03f9..b3ae5b03b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateStaticLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaCreateStaticLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -108,11 +108,11 @@ def __init__(
link_target: GsaCreateStaticLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateStaticLinkTarget
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py
index a793b264b..2b1ecc13d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_full_table": "bool",
"display_names": "dict(str, str)",
@@ -83,7 +83,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_full_table": "displayFullTable",
"display_names": "displayNames",
@@ -108,7 +108,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_full_table: "bool | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_full_table: bool, optional
display_names: dict[str, str] | None, optional
@@ -141,7 +141,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_criterion.py
index c3873fab5..0043c8842 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_criterion.py
@@ -63,11 +63,11 @@ class GsaCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -95,45 +95,45 @@ class GsaCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaCriterionType",
+ type_: "GsaCriterionType",
) -> None:
"""GsaCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
"""
- self._type: GsaCriterionType
+ self._type_: GsaCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaCriterionType":
- """Gets the type of this GsaCriterion.
+ def type_(self) -> "GsaCriterionType":
+ """Gets the type_ of this GsaCriterion.
Returns
-------
GsaCriterionType
- The type of this GsaCriterion.
+ The type_ of this GsaCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaCriterionType") -> None:
- """Sets the type of this GsaCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaCriterionType") -> None:
+ """Sets the type_ of this GsaCriterion.
Parameters
----------
- type: GsaCriterionType
- The type of this GsaCriterion.
+ type_: GsaCriterionType
+ The type_ of this GsaCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_link.py
index bb271f118..e92840097 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_link.py
@@ -72,7 +72,7 @@ class GsaCrossDatabaseLink(GsaLink):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaCrossDatabaseLink(GsaLink):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -100,7 +100,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.CROSSDATABASELINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.CROSSDATABASELINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaCrossDatabaseLink - a model defined in Swagger
@@ -113,7 +113,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -122,7 +122,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._include_indirect_links: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_record_link_group.py
index d8c630c37..fae9270bb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_cross_database_record_link_group.py
@@ -74,7 +74,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_count_rollup_datum.py
index 6dd668684..67b4f8b8c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_count_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_count_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "countRollup",
+ type_: "str | None" = "countRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_numeric_rollup_datum.py
index 4bf9608e2..c668e92d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_numeric_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_numeric_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "statisticalRollup",
+ type_: "str | None" = "statisticalRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_rollup_datum.py
index 804cf4971..53fc82cb9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportRollupDatum(ModelBase):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -75,7 +75,7 @@ class GsaDataExportRollupDatum(ModelBase):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -100,7 +100,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None",
+ type_: "str | None",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -124,7 +124,7 @@ def __init__(
self._roll_up_type: GsaTabularColumnRollUpType | Unset_Type = Unset
self._path_attribute_guids: list[str]
self._path_attribute_identities: list[int]
- self._type: str | None
+ self._type_: str | None
if database_key is not Unset:
self.database_key = database_key
@@ -136,7 +136,7 @@ def __init__(
self.roll_up_type = roll_up_type
self.path_attribute_guids = path_attribute_guids
self.path_attribute_identities = path_attribute_identities
- self.type = type
+ self.type_ = type_
@property
def database_key(self) -> "str | None | Unset_Type":
@@ -296,29 +296,29 @@ def path_attribute_identities(self, path_attribute_identities: "list[int]") -> N
self._path_attribute_identities = path_attribute_identities
@property
- def type(self) -> "str | None":
- """Gets the type of this GsaDataExportRollupDatum.
+ def type_(self) -> "str | None":
+ """Gets the type_ of this GsaDataExportRollupDatum.
Returns
-------
str | None
- The type of this GsaDataExportRollupDatum.
+ The type_ of this GsaDataExportRollupDatum.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None") -> None:
- """Sets the type of this GsaDataExportRollupDatum.
+ @type_.setter
+ def type_(self, type_: "str | None") -> None:
+ """Sets the type_ of this GsaDataExportRollupDatum.
Parameters
----------
- type: str | None
- The type of this GsaDataExportRollupDatum.
+ type_: str | None
+ The type_ of this GsaDataExportRollupDatum.
"""
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_value_rollup_datum.py
index fea4d738c..9cca4f4f2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_value_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_value_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -78,7 +78,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valueRollup",
+ type_: "str | None" = "valueRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_values_rollup_datum.py
index 36bfe67f6..d2cdd8f5d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_values_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_export_values_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valuesRollup",
+ type_: "str | None" = "valuesRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py
index 66d4b9057..9dc0f42a4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py
@@ -62,7 +62,7 @@ class GsaDataUpdaterJob(ModelBase):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "id": "str",
+ "id_": "str",
"job_type": "GsaDataUpdaterJobType",
"status": "GsaDataUpdaterJobStatus",
"time_started": "datetime",
@@ -76,7 +76,7 @@ class GsaDataUpdaterJob(ModelBase):
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "id": "id",
+ "id_": "id",
"job_type": "jobType",
"status": "status",
"time_started": "timeStarted",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
database_key: "str",
- id: "str",
+ id_: "str",
job_type: "GsaDataUpdaterJobType",
status: "GsaDataUpdaterJobStatus",
time_started: "datetime",
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
database_key: str
- id: str
+ id_: str
job_type: GsaDataUpdaterJobType
status: GsaDataUpdaterJobStatus
time_started: datetime
@@ -127,7 +127,7 @@ def __init__(
time_completed: datetime | None, optional
update_token: GsaDataUpdateToken, optional
"""
- self._id: str
+ self._id_: str
self._update_token: GsaDataUpdateToken | Unset_Type = Unset
self._job_type: GsaDataUpdaterJobType
self._database_key: str
@@ -139,7 +139,7 @@ def __init__(
self._time_completed: datetime | None | Unset_Type = Unset
self._error: str | None | Unset_Type = Unset
- self.id = id
+ self.id_ = id_
if update_token is not Unset:
self.update_token = update_token
self.job_type = job_type
@@ -158,34 +158,34 @@ def __init__(
self.error = error
@property
- def id(self) -> "str":
- """Gets the id of this GsaDataUpdaterJob.
+ def id_(self) -> "str":
+ """Gets the id_ of this GsaDataUpdaterJob.
Gets or sets the token which identifies this job.
Returns
-------
str
- The id of this GsaDataUpdaterJob.
+ The id_ of this GsaDataUpdaterJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str") -> None:
- """Sets the id of this GsaDataUpdaterJob.
+ @id_.setter
+ def id_(self, id_: "str") -> None:
+ """Sets the id_ of this GsaDataUpdaterJob.
Gets or sets the token which identifies this job.
Parameters
----------
- id: str
- The id of this GsaDataUpdaterJob.
+ id_: str
+ The id_ of this GsaDataUpdaterJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
# Field is required
- if id is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'id', must not be 'Unset'")
- self._id = id
+ if id_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'id_', must not be 'Unset'")
+ self._id_ = id_
@property
def update_token(self) -> "GsaDataUpdateToken | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_aggregation_datum_criterion.py
index 8ec38ffaf..8d844a609 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
) -> None:
"""GsaDateTimeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py
index e1428abf3..c7f99c408 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py
@@ -72,7 +72,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_criterion.py
index 49660a4eb..f57a09882 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "datetime",
"lte": "datetime",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
gte: "datetime | None | Unset_Type" = Unset,
lte: "datetime | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: datetime | None, optional
lte: datetime | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: datetime | None | Unset_Type = Unset
self._lte: datetime | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_exists_criterion.py
index 084c652a6..7f29a464f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
) -> None:
"""GsaDateTimeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
index 6b070d831..91b26e76f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion(GsaAggrega
"""
swagger_types: dict[str, str] = {
"interval": "GsaCalendarInterval",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
interval: "GsaCalendarInterval",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
interval: GsaCalendarInterval
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: GsaCalendarInterval
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
index 0fceeee7d..c374e8f8c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatu
"""
swagger_types: dict[str, str] = {
"interval": "str",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
interval: "str",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
interval: str
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: str
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
index f22d11c6a..a0cbf4832 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py
index ea81376e0..79a24ed1d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -111,45 +111,45 @@ class GsaDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumCriterionType",
+ type_: "GsaDatumCriterionType",
) -> None:
"""GsaDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- self._type: GsaDatumCriterionType
+ self._type_: GsaDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumCriterionType":
- """Gets the type of this GsaDatumCriterion.
+ def type_(self) -> "GsaDatumCriterionType":
+ """Gets the type_ of this GsaDatumCriterion.
Returns
-------
GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ The type_ of this GsaDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumCriterionType") -> None:
- """Sets the type of this GsaDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaDatumCriterionType") -> None:
+ """Sets the type_ of this GsaDatumCriterion.
Parameters
----------
- type: GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ type_: GsaDatumCriterionType
+ The type_ of this GsaDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_discrete_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_discrete_rollup.py
index 449829098..cafa1b9cd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_discrete_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_discrete_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "GsaDiscreteValuesDiscreteValue",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
value: "GsaDiscreteValuesDiscreteValue",
) -> None:
"""GsaDatumDiscreteRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: GsaDiscreteValuesDiscreteValue
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: GsaDiscreteValuesDiscreteValue
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_double_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_double_rollup.py
index 7a947979e..12a9a9304 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_double_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_double_rollup.py
@@ -66,13 +66,13 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "float",
"unit": "GsaSlimUnit",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"unit": "unit",
}
@@ -86,7 +86,7 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
value: "float",
unit: "GsaSlimUnit | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: float
unit: GsaSlimUnit, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float
self._unit: GsaSlimUnit | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_exists_criterion.py
index 65bc11829..7d0ee97aa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_exists_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -98,45 +98,45 @@ class GsaDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaDatumExistsCriterion.
Returns
-------
GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ The type_ of this GsaDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ type_: GsaAttributeType
+ The type_ of this GsaDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_export_failure.py
index af4f6d404..7b66e15d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_export_failure.py
@@ -71,14 +71,14 @@ class GsaDatumExportFailure(GsaExportFailure):
"failed_datum": "GsaDatumReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_datum": "failedDatum",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_datum: "GsaDatumReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.DATUM,
+ type_: "GsaExportFailureType" = GsaExportFailureType.DATUM,
) -> None:
"""GsaDatumExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_datum: GsaDatumReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_datum: GsaDatumReference
self.failed_datum = failed_datum
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_integer_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_integer_rollup.py
index 6d4c7bbf3..c56f2636e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_integer_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_integer_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -82,17 +82,17 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
value: "int",
) -> None:
"""GsaDatumIntegerRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_list_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_list_rollup.py
index 5fc0005dd..68aa36d1c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_list_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_list_rollup.py
@@ -67,12 +67,12 @@ class GsaDatumListRollup(GsaDatumRollup):
"""
swagger_types: dict[str, str] = {
"list_rollup_datums": "list[GsaListRollupDatum]",
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
"list_rollup_datums": "listRollupDatums",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,16 +85,16 @@ def __init__(
self,
*,
list_rollup_datums: "list[GsaListRollupDatum]",
- type: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
) -> None:
"""GsaDatumListRollup - a model defined in Swagger
Parameters
----------
list_rollup_datums: list[GsaListRollupDatum]
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._list_rollup_datums: list[GsaListRollupDatum]
self.list_rollup_datums = list_rollup_datums
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_rollup.py
index bf3524ab0..3d1754439 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_rollup.py
@@ -63,11 +63,11 @@ class GsaDatumRollup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,45 +86,45 @@ class GsaDatumRollup(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumRollupType",
+ type_: "GsaDatumRollupType",
) -> None:
"""GsaDatumRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- self._type: GsaDatumRollupType
+ self._type_: GsaDatumRollupType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumRollupType":
- """Gets the type of this GsaDatumRollup.
+ def type_(self) -> "GsaDatumRollupType":
+ """Gets the type_ of this GsaDatumRollup.
Returns
-------
GsaDatumRollupType
- The type of this GsaDatumRollup.
+ The type_ of this GsaDatumRollup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumRollupType") -> None:
- """Sets the type of this GsaDatumRollup.
+ @type_.setter
+ def type_(self, type_: "GsaDatumRollupType") -> None:
+ """Sets the type_ of this GsaDatumRollup.
Parameters
----------
- type: GsaDatumRollupType
- The type of this GsaDatumRollup.
+ type_: GsaDatumRollupType
+ The type_ of this GsaDatumRollup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py
index 89e1bf658..d2403183f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py
@@ -74,7 +74,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -91,7 +91,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_datum_exists_criterion.py
index 8377b2a33..898e7d47c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
) -> None:
"""GsaDiscreteDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py
index 00c8f7e7a..86b607451 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py
@@ -74,7 +74,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -91,7 +91,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -117,7 +117,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -136,7 +136,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -150,7 +150,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
index b50a342ae..b5be033ae 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeDiscreteParameter(GsaDiscreteFunctionalAttri
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
index aa50c4677..5605ec26e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeNumericParameter(GsaDiscreteFunctionalAttrib
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_parameter.py
index f9b4b759a..b1dbdb9c5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_datum_exists_criterion.py
index 507699d12..b06bb6f61 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
) -> None:
"""GsaDiscreteFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_range_datum_criterion.py
index 7ae8df6b3..8fdc0960c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_range_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_values_datum_criterion.py
index 61867c720..504235a75 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_values_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"any_guids": "list[str]",
"any_identities": "list[int]",
"constraints": "list[GsaParameterConstraint]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"any_guids": "anyGuids",
"any_identities": "anyIdentities",
"constraints": "constraints",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
any_guids: "list[str] | None | Unset_Type" = Unset,
any_identities: "list[int] | None | Unset_Type" = Unset,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
any_guids: list[str] | None, optional
any_identities: list[int] | None, optional
constraints: list[GsaParameterConstraint] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._any_identities: list[int] | None | Unset_Type = Unset
self._any_guids: list[str] | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_datum_criterion.py
index cd204661f..c6e4e351a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
value: "str",
) -> None:
"""GsaDiscreteGuidDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_values_datum_criterion.py
index 044d6d613..927afc4a4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_guid_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteGuidValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_datum_criterion.py
index bb0a9eff2..cbf14a4b9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
value: "int",
) -> None:
"""GsaDiscreteIdentityDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_values_datum_criterion.py
index 5495c0fe3..38d8e44e4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_identity_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[int]",
- "all": "list[int]",
- "any": "list[int]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[int]",
+ "any_": "list[int]",
+ "none_": "list[int]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
- _none: "list[int] | None | Unset_Type" = Unset,
- all: "list[int] | None | Unset_Type" = Unset,
- any: "list[int] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
+ all_: "list[int] | None | Unset_Type" = Unset,
+ any_: "list[int] | None | Unset_Type" = Unset,
+ none_: "list[int] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteIdentityValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[int] | None, optional
- all: list[int] | None, optional
- any: list[int] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[int] | None, optional
+ any_: list[int] | None, optional
+ none_: list[int] | None, optional
"""
- super().__init__(type=type)
- self._all: list[int] | None | Unset_Type = Unset
- self._any: list[int] | None | Unset_Type = Unset
- self.__none: list[int] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[int] | None | Unset_Type = Unset
+ self._any_: list[int] | None | Unset_Type = Unset
+ self._none_: list[int] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[int] | None | Unset_Type":
- """Gets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ def all_(self) -> "list[int] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Returns
-------
list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[int] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[int] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Parameters
----------
- all: list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ all_: list[int] | None | Unset_Type
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[int] | None | Unset_Type":
- """Gets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ def any_(self) -> "list[int] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[int] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[int] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Parameters
----------
- any: list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ any_: list[int] | None | Unset_Type
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[int] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ def none_(self) -> "list[int] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[int] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[int] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Parameters
----------
- _none: list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ none_: list[int] | None | Unset_Type
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter.py
index 88005bb01..963e1d8c4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaDiscreteParameterValue]",
"help_path": "str",
}
@@ -78,7 +78,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
}
@@ -96,7 +96,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaDiscreteParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -108,7 +108,7 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaDiscreteParameterValue]
help_path: str | None, optional
"""
@@ -117,7 +117,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._values: list[GsaDiscreteParameterValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_content.py
index 18fdebb9c..4561b0f73 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaDiscreteParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaDiscreteRange",
"parameter_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaDiscreteRange, optional
parameter_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimNamedEntity | Unset_Type = Unset
self._parameter_range: GsaDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_name_constraint.py
index af0956da6..4f07c9987 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_name_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_name_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterNameConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[str]",
- "any": "list[str]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
- _none: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterNameConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterNameConstraint.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterNameConstraint.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterNameConstraint.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterNameConstraint.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value.py
index 584a7cfa4..94bcc7826 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value.py
@@ -70,13 +70,13 @@ class GsaDiscreteParameterValue(GsaParameterValue):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -88,7 +88,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
) -> None:
"""GsaDiscreteParameterValue - a model defined in Swagger
@@ -96,9 +96,9 @@ def __init__(
----------
guid: str
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value_constraint.py
index fa5d967be..0ae6fe1f0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_parameter_value_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterValueConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[float]",
- "any": "list[float]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[float]",
+ "none_": "list[float]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
- _none: "list[float] | None | Unset_Type" = Unset,
- any: "list[float] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
+ any_: "list[float] | None | Unset_Type" = Unset,
+ none_: "list[float] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterValueConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[float] | None, optional
- any: list[float] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[float] | None, optional
+ none_: list[float] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[float] | None | Unset_Type = Unset
- self.__none: list[float] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[float] | None | Unset_Type = Unset
+ self._none_: list[float] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[float] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterValueConstraint.
+ def any_(self) -> "list[float] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[float] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterValueConstraint.
+ @any_.setter
+ def any_(self, any_: "list[float] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- any: list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ any_: list[float] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[float] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterValueConstraint.
+ def none_(self) -> "list[float] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[float] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterValueConstraint.
+ @none_.setter
+ def none_(self, none_: "list[float] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- _none: list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ none_: list[float] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_range_datum_criterion.py
index abae717bc..45a3ae182 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_aggregation_datum_criterion.py
index 0454b9954..3caf716d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_datum_criterion.py
index 39e4b89d1..f6a83b5ba 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_prefix_datum_criterion.py
index fc837e519..5467bec87 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaDiscreteTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
) -> None:
"""GsaDiscreteTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_values_datum_criterion.py
index 5cf1a7df8..d0ea56f4b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_text_values_datum_criterion.py
@@ -68,18 +68,18 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
"text_match_behavior": "textMatchBehavior",
}
@@ -92,102 +92,102 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteTextValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
if text_match_behavior is not Unset:
self.text_match_behavior = text_match_behavior
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteTextValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteTextValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteTextValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteTextValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@property
def text_match_behavior(self) -> "GsaTextMatchBehavior | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_double_sorting_value.py
index 357a08c99..606184ddf 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_double_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_double_sorting_value.py
@@ -68,12 +68,12 @@ class GsaDoubleSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDoubleSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
+ type_: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
value: "float | Unset_Type" = Unset,
) -> None:
"""GsaDoubleSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_export_failure.py
index 14790cc55..4a0b0f92b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_export_failure.py
@@ -65,13 +65,13 @@ class GsaExportFailure(ModelBase):
swagger_types: dict[str, str] = {
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
*,
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType",
+ type_: "GsaExportFailureType",
) -> None:
"""GsaExportFailure - a model defined in Swagger
@@ -101,43 +101,43 @@ def __init__(
----------
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- self._type: GsaExportFailureType
+ self._type_: GsaExportFailureType
self._failure_details: str
self._failure_reason: str
- self.type = type
+ self.type_ = type_
self.failure_details = failure_details
self.failure_reason = failure_reason
@property
- def type(self) -> "GsaExportFailureType":
- """Gets the type of this GsaExportFailure.
+ def type_(self) -> "GsaExportFailureType":
+ """Gets the type_ of this GsaExportFailure.
Returns
-------
GsaExportFailureType
- The type of this GsaExportFailure.
+ The type_ of this GsaExportFailure.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaExportFailureType") -> None:
- """Sets the type of this GsaExportFailure.
+ @type_.setter
+ def type_(self, type_: "GsaExportFailureType") -> None:
+ """Sets the type_ of this GsaExportFailure.
Parameters
----------
- type: GsaExportFailureType
- The type of this GsaExportFailure.
+ type_: GsaExportFailureType
+ The type_ of this GsaExportFailure.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def failure_details(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py
index fac6d769b..b499b6d6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py
@@ -72,7 +72,7 @@ class GsaFileAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaFileAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_criterion.py
index 0e730ea2a..32fb78554 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
value: "str",
) -> None:
"""GsaFileDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_exists_criterion.py
index b8a08f397..3068c43ea 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
) -> None:
"""GsaFileDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_prefix_datum_criterion.py
index ea3c471f8..2ab91c838 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaFilePrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
) -> None:
"""GsaFilePrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_aggregation_datum_criterion.py
index 8c7b4ae54..4edf2c917 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_parameter_values": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_parameter_values": "numberOfParameterValues",
}
@@ -84,17 +84,17 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
number_of_parameter_values: "int | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_parameter_values: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_parameter_values: int | Unset_Type = Unset
if number_of_parameter_values is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py
index 771e331c1..b512672c4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py
@@ -74,7 +74,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -92,7 +92,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -119,7 +119,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -139,7 +139,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -154,7 +154,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_discrete_parameter.py
index a3e87d1bf..1cf741e0b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaFloatFunctionalAttributeDiscreteParameter(GsaFloatFunctionalAttributePa
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_numeric_parameter.py
index 00521a73c..744cc79ad 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_parameter.py
index 82d17576d..ac6117351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_criterion.py
index 4ef129256..8e496daed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_exists_criterion.py
index 0e790c578..c8346ff8b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
) -> None:
"""GsaFloatFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_graph_datum_criterion.py
index 59c13900b..3cea7879d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_graph_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_graph_datum_criterion.py
@@ -68,7 +68,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"default_x_axis_parameter_guid": "str",
"default_x_axis_parameter_identity": "int",
"is_series_graph": "bool",
@@ -82,7 +82,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_x_axis_parameter_guid": "defaultXAxisParameterGuid",
"default_x_axis_parameter_identity": "defaultXAxisParameterIdentity",
"is_series_graph": "isSeriesGraph",
@@ -102,7 +102,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
default_x_axis_parameter_guid: "str | None | Unset_Type" = Unset,
default_x_axis_parameter_identity: "int | None | Unset_Type" = Unset,
is_series_graph: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
default_x_axis_parameter_guid: str | None, optional
default_x_axis_parameter_identity: int | None, optional
is_series_graph: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
x_axis_parameter_guid: str | None, optional
x_axis_parameter_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._x_axis_parameter_identity: int | None | Unset_Type = Unset
self._x_axis_parameter_guid: str | None | Unset_Type = Unset
self._number_of_series_lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation.py
index db2d06114..4ffadf98c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation.py
@@ -66,13 +66,13 @@ class GsaFreeTextAggregation(GsaAggregation):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"terms": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"terms": "terms",
}
@@ -84,7 +84,7 @@ class GsaFreeTextAggregation(GsaAggregation):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
guid: "str | Unset_Type" = Unset,
terms: "list[str] | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str, optional
terms: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str | Unset_Type = Unset
self._terms: list[str] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation_criterion.py
index 380bb08ae..0d1e32b9f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_aggregation_criterion.py
@@ -66,7 +66,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attributes": "GsaValueSpecifier",
"criterion_guid": "str",
"local_columns": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attributes": "attributes",
"criterion_guid": "criterionGuid",
"local_columns": "localColumns",
@@ -93,7 +93,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
criterion_guid: "str | Unset_Type" = Unset,
local_columns: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -104,14 +104,14 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
attributes: GsaValueSpecifier, optional
criterion_guid: str, optional
local_columns: GsaValueSpecifier, optional
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._criterion_guid: str | Unset_Type = Unset
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_criterion.py
index f67ec2a38..706e91d2f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_criterion.py
@@ -64,7 +64,7 @@ class GsaFreeTextCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextCriterion(GsaCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -99,7 +99,7 @@ class GsaFreeTextCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TEXT,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXT,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
local_columns: GsaValueSpecifier, optional
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_prefix_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_prefix_criterion.py
index ca16715b4..9cceba621 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_prefix_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_free_text_prefix_criterion.py
@@ -65,7 +65,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -76,7 +76,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
prefix: str
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
column_identities_to_boost: list[GsaBoostByIdentity] | None, optional
local_columns: GsaValueSpecifier, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_guid_only_attribute.py
index 4321a1bfb..65ae8d927 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_guid_only_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_guid_only_attribute.py
@@ -63,7 +63,7 @@ class GsaGuidOnlyAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"graph_type": "str",
"is_unitted": "bool",
@@ -77,7 +77,7 @@ class GsaGuidOnlyAttribute(ModelBase):
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"graph_type": "graphType",
"is_unitted": "isUnitted",
@@ -102,7 +102,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
is_unitted: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
graph_type: str | None, optional
is_unitted: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
"""
self._name: str
self._guid: str
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_guid: str | None | Unset_Type = Unset
@@ -142,7 +142,7 @@ def __init__(
self.name = name
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -217,32 +217,32 @@ def guid(self, guid: "str") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaGuidOnlyAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaGuidOnlyAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ The type_ of this GsaGuidOnlyAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaGuidOnlyAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaGuidOnlyAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaGuidOnlyAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py
index 66cd26a11..2aaf0b643 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py
@@ -72,7 +72,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_criterion.py
index 033f8eba0..c28a75b83 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
value: "str",
) -> None:
"""GsaHyperlinkDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_exists_criterion.py
index 0cfd4f1c6..a83448ea4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
) -> None:
"""GsaHyperlinkDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_prefix_datum_criterion.py
index ae1a7ac4e..3e8fee9cd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaHyperlinkPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
) -> None:
"""GsaHyperlinkPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_aggregation_datum_criterion.py
index 75793075a..6033492b8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
) -> None:
"""GsaIntegerAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py
index 665b024de..a9b910e44 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py
@@ -73,7 +73,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -111,7 +111,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -129,7 +129,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -143,7 +143,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_criterion.py
index 0fa1e9946..97de1f408 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_exists_criterion.py
index b5a89e24e..b0bf61076 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
) -> None:
"""GsaIntegerDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
index 809e6bd74..273507e62 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
index adce34e26..5a403fa19 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaIntegerHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integration_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integration_attribute.py
index 2bd9bde54..cbc815db0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integration_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integration_attribute.py
@@ -62,7 +62,7 @@ class GsaIntegrationAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"discrete_type_identity": "int",
"graph_type": "str",
@@ -78,7 +78,7 @@ class GsaIntegrationAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"discrete_type_identity": "discreteTypeIdentity",
"graph_type": "graphType",
@@ -105,7 +105,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
discrete_type_identity: "int | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
discrete_type_identity: int | None, optional
graph_type: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
self._name: str
self._identity: int | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_identity: int | None | Unset_Type = Unset
@@ -155,7 +155,7 @@ def __init__(
self.identity = identity
if guid is not Unset:
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -254,32 +254,32 @@ def guid(self, guid: "str | Unset_Type") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaIntegrationAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaIntegrationAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ The type_ of this GsaIntegrationAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaIntegrationAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaIntegrationAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaIntegrationAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_job.py
index 7ac0d6c2d..1e0686f04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_job.py
@@ -64,7 +64,7 @@ class GsaJob(ModelBase):
"completion_date": "datetime",
"description": "str",
"execution_date": "datetime",
- "id": "str",
+ "id_": "str",
"input_file_ids": "list[str]",
"job_specific_outputs": "dict(str, object)",
"name": "str",
@@ -75,14 +75,14 @@ class GsaJob(ModelBase):
"submission_date": "datetime",
"submitter_name": "str",
"submitter_roles": "list[str]",
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
"completion_date": "completionDate",
"description": "description",
"execution_date": "executionDate",
- "id": "id",
+ "id_": "id",
"input_file_ids": "inputFileIds",
"job_specific_outputs": "jobSpecificOutputs",
"name": "name",
@@ -93,7 +93,7 @@ class GsaJob(ModelBase):
"submission_date": "submissionDate",
"submitter_name": "submitterName",
"submitter_roles": "submitterRoles",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -108,7 +108,7 @@ def __init__(
completion_date: "datetime | None | Unset_Type" = Unset,
description: "str | None | Unset_Type" = Unset,
execution_date: "datetime | None | Unset_Type" = Unset,
- id: "str | Unset_Type" = Unset,
+ id_: "str | Unset_Type" = Unset,
input_file_ids: "list[str] | None | Unset_Type" = Unset,
job_specific_outputs: "dict[str, object] | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
submission_date: "datetime | None | Unset_Type" = Unset,
submitter_name: "str | None | Unset_Type" = Unset,
submitter_roles: "list[str] | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaJob - a model defined in Swagger
@@ -128,7 +128,7 @@ def __init__(
completion_date: datetime | None, optional
description: str | None, optional
execution_date: datetime | None, optional
- id: str, optional
+ id_: str, optional
input_file_ids: list[str] | None, optional
job_specific_outputs: dict[str, object] | None, optional
name: str | None, optional
@@ -139,12 +139,12 @@ def __init__(
submission_date: datetime | None, optional
submitter_name: str | None, optional
submitter_roles: list[str] | None, optional
- type: str | None, optional
+ type_: str | None, optional
"""
- self._id: str | Unset_Type = Unset
+ self._id_: str | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._submitter_name: str | None | Unset_Type = Unset
self._submitter_roles: list[str] | None | Unset_Type = Unset
self._submission_date: datetime | None | Unset_Type = Unset
@@ -157,14 +157,14 @@ def __init__(
self._position: int | None | Unset_Type = Unset
self._job_specific_outputs: dict[str, object] | None | Unset_Type = Unset
- if id is not Unset:
- self.id = id
+ if id_ is not Unset:
+ self.id_ = id_
if name is not Unset:
self.name = name
if description is not Unset:
self.description = description
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if submitter_name is not Unset:
self.submitter_name = submitter_name
if submitter_roles is not Unset:
@@ -189,29 +189,29 @@ def __init__(
self.job_specific_outputs = job_specific_outputs
@property
- def id(self) -> "str | Unset_Type":
- """Gets the id of this GsaJob.
+ def id_(self) -> "str | Unset_Type":
+ """Gets the id_ of this GsaJob.
Returns
-------
str | Unset_Type
- The id of this GsaJob.
+ The id_ of this GsaJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str | Unset_Type") -> None:
- """Sets the id of this GsaJob.
+ @id_.setter
+ def id_(self, id_: "str | Unset_Type") -> None:
+ """Sets the id_ of this GsaJob.
Parameters
----------
- id: str | Unset_Type
- The id of this GsaJob.
+ id_: str | Unset_Type
+ The id_ of this GsaJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
- self._id = id
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
+ self._id_ = id_
@property
def name(self) -> "str | None | Unset_Type":
@@ -258,26 +258,26 @@ def description(self, description: "str | None | Unset_Type") -> None:
self._description = description
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaJob.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaJob.
Returns
-------
str | None | Unset_Type
- The type of this GsaJob.
+ The type_ of this GsaJob.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaJob.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaJob.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaJob.
+ type_: str | None | Unset_Type
+ The type_ of this GsaJob.
"""
- self._type = type
+ self._type_ = type_
@property
def submitter_name(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py
index 9ecbd2901..ecc778729 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py
@@ -68,7 +68,7 @@ class GsaLink(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -78,7 +78,7 @@ class GsaLink(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType",
+ type_: "GsaLinkAttributeType",
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaLink - a model defined in Swagger
@@ -116,10 +116,10 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
- self._type: GsaLinkAttributeType
+ self._type_: GsaLinkAttributeType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._link_info: GsaLinkInfo
@@ -127,7 +127,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -137,32 +137,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaLinkAttributeType":
- """Gets the type of this GsaLink.
+ def type_(self) -> "GsaLinkAttributeType":
+ """Gets the type_ of this GsaLink.
Returns
-------
GsaLinkAttributeType
- The type of this GsaLink.
+ The type_ of this GsaLink.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaLinkAttributeType") -> None:
- """Sets the type of this GsaLink.
+ @type_.setter
+ def type_(self, type_: "GsaLinkAttributeType") -> None:
+ """Sets the type_ of this GsaLink.
Parameters
----------
- type: GsaLinkAttributeType
- The type of this GsaLink.
+ type_: GsaLinkAttributeType
+ The type_ of this GsaLink.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_aggregation_datum_criterion.py
index a17600bd8..24cb68b89 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"local_aggregation_criteria": "list[GsaLocalColumnAggregationCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"local_aggregation_criteria": "localAggregationCriteria",
}
@@ -86,17 +86,17 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
local_aggregation_criteria: "list[GsaLocalColumnAggregationCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaLinkAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
local_aggregation_criteria: list[GsaLocalColumnAggregationCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._local_aggregation_criteria: (
list[GsaLocalColumnAggregationCriterion] | None | Unset_Type
) = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_datum_criterion.py
index 385cbcc66..f11d7b1fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_datum_criterion.py
@@ -69,7 +69,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"link_datum_type": "GsaLinkAttributeType",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"indirect_links": "GsaIndirectLinks",
"inner_criterion": "GsaCriterion",
"local_criterion": "GsaCriterion",
@@ -84,7 +84,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
attribute_map: dict[str, str] = {
"link_datum_type": "linkDatumType",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"inner_criterion": "innerCriterion",
"local_criterion": "localCriterion",
@@ -111,7 +111,7 @@ def __init__(
self,
*,
link_datum_type: "GsaLinkAttributeType",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
local_criterion: "GsaCriterion | Unset_Type" = Unset,
@@ -128,7 +128,7 @@ def __init__(
Parameters
----------
link_datum_type: GsaLinkAttributeType
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
indirect_links: GsaIndirectLinks, optional
inner_criterion: GsaCriterion, optional
local_criterion: GsaCriterion, optional
@@ -140,7 +140,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_exists_datum_criterion.py
index 24fd7dcdf..6d2d90038 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_exists_datum_criterion.py
@@ -67,7 +67,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
"""
swagger_types: dict[str, str] = {
"target_database_key": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"indirect_links": "GsaIndirectLinks",
"link_datum_type": "GsaLinkAttributeType",
"local_rows_behavior": "GsaLocalRowsBehavior",
@@ -80,7 +80,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
attribute_map: dict[str, str] = {
"target_database_key": "targetDatabaseKey",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"link_datum_type": "linkDatumType",
"local_rows_behavior": "localRowsBehavior",
@@ -103,7 +103,7 @@ def __init__(
self,
*,
target_database_key: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
link_datum_type: "GsaLinkAttributeType | Unset_Type" = Unset,
local_rows_behavior: "GsaLocalRowsBehavior | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
target_database_key: str
- type: GsaAttributeType
+ type_: GsaAttributeType
indirect_links: GsaIndirectLinks, optional
link_datum_type: GsaLinkAttributeType, optional
local_rows_behavior: GsaLocalRowsBehavior, optional
@@ -128,7 +128,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_export_failure.py
index d54f5914e..72c23516e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_export_failure.py
@@ -71,14 +71,14 @@ class GsaLinkExportFailure(GsaExportFailure):
"failed_link": "GsaLinkReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_link": "failedLink",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_link: "GsaLinkReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.LINK,
+ type_: "GsaExportFailureType" = GsaExportFailureType.LINK,
) -> None:
"""GsaLinkExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_link: GsaLinkReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_link: GsaLinkReference
self.failed_link = failed_link
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py
index d7e4ac570..46fb0f766 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"attribute_type": "GsaAttributeType",
"inner_hits_identifier": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"inner_hits_identifier": "innerHitsIdentifier",
}
@@ -88,7 +88,7 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SMARTLINKINGVALUE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SMARTLINKINGVALUE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
inner_hits_identifier: "str | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
attribute_type: GsaAttributeType, optional
inner_hits_identifier: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_type: GsaAttributeType | Unset_Type = Unset
self._inner_hits_identifier: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_boolean_criterion.py
index c86934427..dd799c556 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_boolean_criterion.py
@@ -65,13 +65,13 @@ class GsaListBooleanCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"match_all": "list[GsaListCriterion]",
"match_any": "list[GsaListCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"match_all": "matchAll",
"match_any": "matchAny",
}
@@ -86,7 +86,7 @@ class GsaListBooleanCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "listBoolean",
+ type_: "str" = "listBoolean",
match_all: "list[GsaListCriterion] | None | Unset_Type" = Unset,
match_any: "list[GsaListCriterion] | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
match_all: list[GsaListCriterion] | None, optional
match_any: list[GsaListCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._match_any: list[GsaListCriterion] | None | Unset_Type = Unset
self._match_all: list[GsaListCriterion] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_criterion.py
index 74d35a3c3..bf8f5974e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_list_criterion.py
@@ -63,11 +63,11 @@ class GsaListCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,45 +82,45 @@ class GsaListCriterion(ModelBase):
def __init__(
self,
*,
- type: "str",
+ type_: "str",
) -> None:
"""GsaListCriterion - a model defined in Swagger
Parameters
----------
- type: str
+ type_: str
"""
- self._type: str
+ self._type_: str
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "str":
- """Gets the type of this GsaListCriterion.
+ def type_(self) -> "str":
+ """Gets the type_ of this GsaListCriterion.
Returns
-------
str
- The type of this GsaListCriterion.
+ The type_ of this GsaListCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str") -> None:
- """Sets the type of this GsaListCriterion.
+ @type_.setter
+ def type_(self, type_: "str") -> None:
+ """Sets the type_ of this GsaListCriterion.
Parameters
----------
- type: str
- The type of this GsaListCriterion.
+ type_: str
+ The type_ of this GsaListCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_criterion.py
index 79f86703e..c74fa38ab 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_criterion.py
@@ -67,14 +67,14 @@ class GsaLocalColumnCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -104,11 +104,11 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._local_column_criterion_type: GsaLocalColumnCriterionType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_exists_criterion.py
index 5ecf95a39..f51e2d817 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumExistsCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumExistsCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.EXISTS,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumExistsCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_matches_criterion.py
index 2ab432ca0..a2b67832b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.MATCHES,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_not_applicable_criterion.py
index 8b4350fd7..07268f773 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_local_column_not_applicable_criterion.py
@@ -70,14 +70,14 @@ class GsaLocalColumnNotApplicableCriterion(GsaLocalColumnCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -99,13 +99,13 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_aggregation_datum_criterion.py
index 5b0536c13..d59cf0faa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
) -> None:
"""GsaLogicalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py
index 84f02bd05..79fa9d535 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py
@@ -72,7 +72,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_criterion.py
index acb74fbb2..8ac5e6ab9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
value: "bool",
) -> None:
"""GsaLogicalDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: bool
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: bool
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_exists_criterion.py
index 9d72b4600..c44954a66 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
) -> None:
"""GsaLogicalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_sorting_value.py
index 699126cfb..f7def3fe5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_sorting_value.py
@@ -68,12 +68,12 @@ class GsaLongSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.LONG,
+ type_: "GsaSortingValueType" = GsaSortingValueType.LONG,
value: "int | Unset_Type" = Unset,
) -> None:
"""GsaLongSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py
index 929a7b8d5..01052b0cf 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py
@@ -72,7 +72,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_criterion.py
index 392178895..cfb304161 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
value: "str",
) -> None:
"""GsaLongTextDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_exists_criterion.py
index a14100515..552e6c195 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
) -> None:
"""GsaLongTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_prefix_datum_criterion.py
index fd9b79a49..3dddbbafc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaLongTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
) -> None:
"""GsaLongTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py
index a6ff9fd65..fe687ce1e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py
@@ -79,7 +79,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -102,7 +102,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -136,7 +136,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -161,7 +161,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -176,7 +176,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_criterion.py
index f1fd1409a..a83073252 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_exists_criterion.py
index 2b6058da8..373b56ff6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
) -> None:
"""GsaMathsFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_criterion.py
index 3ed8ca514..0110e0cb8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_criterion.py
@@ -64,13 +64,13 @@ class GsaNamedCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"inner_criterion": "GsaCriterion",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"inner_criterion": "innerCriterion",
"name": "name",
}
@@ -84,7 +84,7 @@ class GsaNamedCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
+ type_: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
inner_criterion: GsaCriterion, optional
name: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str | None | Unset_Type = Unset
self._inner_criterion: GsaCriterion | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter.py
index 843f0c198..eafc499b4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaNumericParameterValue]",
"help_path": "str",
"unit": "GsaSlimUnit",
@@ -85,7 +85,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"help_path": "helpPath",
"unit": "unit",
@@ -110,7 +110,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaNumericParameterValue]",
help_path: "str | None | Unset_Type" = Unset,
unit: "GsaSlimUnit | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaNumericParameterValue]
help_path: str | None, optional
unit: GsaSlimUnit, optional
@@ -136,7 +136,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
help_path=help_path,
)
self._is_restricted: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_constraint.py
index 41eadd5ed..61990939d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_constraint.py
@@ -69,7 +69,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
"gte": "float",
"lte": "float",
"significant_figures": "int",
@@ -77,7 +77,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
"significant_figures": "significantFigures",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
significant_figures: "int | None | Unset_Type" = Unset,
@@ -101,12 +101,12 @@ def __init__(
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
gte: float | None, optional
lte: float | None, optional
significant_figures: int | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._significant_figures: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_content.py
index 59a7cedc6..8a41d2067 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaNumericParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_value.py
index b9f1db3c6..3d125844d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_parameter_value.py
@@ -69,14 +69,14 @@ class GsaNumericParameterValue(GsaParameterValue):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"name": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"value": "value",
"name": "name",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
name: str | None, optional
"""
- super().__init__(guid=guid, type=type)
+ super().__init__(guid=guid, type_=type_)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py
index a2a506a43..3f077a7e2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py
@@ -61,11 +61,11 @@ class GsaPaginationLinks(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "next": "str",
+ "next_": "str",
}
attribute_map: dict[str, str] = {
- "next": "next",
+ "next_": "next",
}
subtype_mapping: dict[str, str] = {}
@@ -75,40 +75,40 @@ class GsaPaginationLinks(ModelBase):
def __init__(
self,
*,
- next: "str | None | Unset_Type" = Unset,
+ next_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaPaginationLinks - a model defined in Swagger
Parameters
----------
- next: str | None, optional
+ next_: str | None, optional
"""
- self._next: str | None | Unset_Type = Unset
+ self._next_: str | None | Unset_Type = Unset
- if next is not Unset:
- self.next = next
+ if next_ is not Unset:
+ self.next_ = next_
@property
- def next(self) -> "str | None | Unset_Type":
- """Gets the next of this GsaPaginationLinks.
+ def next_(self) -> "str | None | Unset_Type":
+ """Gets the next_ of this GsaPaginationLinks.
Returns
-------
str | None | Unset_Type
- The next of this GsaPaginationLinks.
+ The next_ of this GsaPaginationLinks.
"""
- return self._next
+ return self._next_
- @next.setter
- def next(self, next: "str | None | Unset_Type") -> None:
- """Sets the next of this GsaPaginationLinks.
+ @next_.setter
+ def next_(self, next_: "str | None | Unset_Type") -> None:
+ """Sets the next_ of this GsaPaginationLinks.
Parameters
----------
- next: str | None | Unset_Type
- The next of this GsaPaginationLinks.
+ next_: str | None | Unset_Type
+ The next_ of this GsaPaginationLinks.
"""
- self._next = next
+ self._next_ = next_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter.py
index 9b683268b..cac6c4b7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter.py
@@ -67,7 +67,7 @@ class GsaParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"help_path": "str",
}
@@ -76,7 +76,7 @@ class GsaParameter(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"help_path": "helpPath",
}
@@ -98,7 +98,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaParameter - a model defined in Swagger
@@ -109,17 +109,17 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
help_path: str | None, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
self.default_parameter_value_guid = default_parameter_value_guid
@@ -128,32 +128,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameter.
Returns
-------
GsaParameterType
- The type of this GsaParameter.
+ The type_ of this GsaParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameter.
+ type_: GsaParameterType
+ The type_ of this GsaParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_constraint.py
index 42877446b..291413982 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_constraint.py
@@ -64,12 +64,12 @@ class GsaParameterConstraint(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -89,20 +89,20 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType",
+ type_: "GsaParameterConstraintType",
) -> None:
"""GsaParameterConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
"""
self._parameter: GsaObjectIdentifier
- self._type: GsaParameterConstraintType
+ self._type_: GsaParameterConstraintType
self.parameter = parameter
- self.type = type
+ self.type_ = type_
@property
def parameter(self) -> "GsaObjectIdentifier":
@@ -133,32 +133,32 @@ def parameter(self, parameter: "GsaObjectIdentifier") -> None:
self._parameter = parameter
@property
- def type(self) -> "GsaParameterConstraintType":
- """Gets the type of this GsaParameterConstraint.
+ def type_(self) -> "GsaParameterConstraintType":
+ """Gets the type_ of this GsaParameterConstraint.
Returns
-------
GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ The type_ of this GsaParameterConstraint.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterConstraintType") -> None:
- """Sets the type of this GsaParameterConstraint.
+ @type_.setter
+ def type_(self, type_: "GsaParameterConstraintType") -> None:
+ """Sets the type_ of this GsaParameterConstraint.
Parameters
----------
- type: GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ type_: GsaParameterConstraintType
+ The type_ of this GsaParameterConstraint.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_content.py
index be41040b7..1509762fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_content.py
@@ -64,12 +64,12 @@ class GsaParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaParameterContent.
+ The type_ of this GsaParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value.py
index f26d365c5..638ee31ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value.py
@@ -64,12 +64,12 @@ class GsaParameterValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
) -> None:
"""GsaParameterValue - a model defined in Swagger
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str
- self.type = type
+ self.type_ = type_
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaParameterValue.
+ The type_ of this GsaParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py
index 4cef8db1d..367c8c90f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py
@@ -72,7 +72,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_criterion.py
index ec74dfdc0..888fb1782 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
) -> None:
"""GsaPictureDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_exists_criterion.py
index 11bfca5ce..be4729b60 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
) -> None:
"""GsaPictureDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_aggregation_datum_criterion.py
index b8cdc3034..d3a9cea3f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
) -> None:
"""GsaPointAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py
index c0998caea..d813236ee 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py
@@ -74,7 +74,7 @@ class GsaPointAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -92,7 +92,7 @@ class GsaPointAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -119,7 +119,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -139,7 +139,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -154,7 +154,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_criterion.py
index 5a9b8599f..886c5ae36 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_exists_criterion.py
index 8a0ef273e..1846d4d33 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
) -> None:
"""GsaPointDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
index 80a605a66..f965c2b8e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_histogram_aggregation_datum_criterion.py
index 206326d44..90ca2769c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaPointHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_put_layout_item.py
index f094d40b9..4c5b9062c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_put_layout_item.py
@@ -63,11 +63,11 @@ class GsaPutLayoutItem(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaPutLayoutItem(ModelBase):
def __init__(
self,
*,
- type: "GsaPutType",
+ type_: "GsaPutType",
) -> None:
"""GsaPutLayoutItem - a model defined in Swagger
Parameters
----------
- type: GsaPutType
+ type_: GsaPutType
"""
- self._type: GsaPutType
+ self._type_: GsaPutType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaPutType":
- """Gets the type of this GsaPutLayoutItem.
+ def type_(self) -> "GsaPutType":
+ """Gets the type_ of this GsaPutLayoutItem.
Returns
-------
GsaPutType
- The type of this GsaPutLayoutItem.
+ The type_ of this GsaPutLayoutItem.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaPutType") -> None:
- """Sets the type of this GsaPutLayoutItem.
+ @type_.setter
+ def type_(self, type_: "GsaPutType") -> None:
+ """Sets the type_ of this GsaPutLayoutItem.
Parameters
----------
- type: GsaPutType
- The type of this GsaPutLayoutItem.
+ type_: GsaPutType
+ The type_ of this GsaPutLayoutItem.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py
index ee35347f9..3ae3f21f2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py
@@ -79,7 +79,7 @@ class GsaQueryAttribute(ModelBase):
"name": "str",
"tabular_columns": "list[GsaQuerySlimNamedEntity]",
"target": "GsaQueryTabularAttributeTarget",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"unit": "GsaQueryUnit",
}
@@ -102,7 +102,7 @@ class GsaQueryAttribute(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -144,7 +144,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
tabular_columns: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTarget | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
unit: "GsaQueryUnit | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttribute - a model defined in Swagger
@@ -169,11 +169,11 @@ def __init__(
name: str | None, optional
tabular_columns: list[GsaQuerySlimNamedEntity] | None, optional
target: GsaQueryTabularAttributeTarget, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
unit: GsaQueryUnit, optional
"""
self._is_protected: bool | None | Unset_Type = Unset
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -195,8 +195,8 @@ def __init__(
if is_protected is not Unset:
self.is_protected = is_protected
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -257,29 +257,29 @@ def is_protected(self, is_protected: "bool | None | Unset_Type") -> None:
self._is_protected = is_protected
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQueryAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQueryAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ The type_ of this GsaQueryAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQueryAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_filter.py
index 42ab08515..501a03222 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_filter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_filter.py
@@ -63,13 +63,13 @@ class GsaQueryAttributeFilter(ModelBase):
swagger_types: dict[str, str] = {
"guid": "list[str]",
"name": "list[str]",
- "type": "list[GsaAttributeType]",
+ "type_": "list[GsaAttributeType]",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -83,7 +83,7 @@ def __init__(
*,
guid: "list[str] | None | Unset_Type" = Unset,
name: "list[str] | None | Unset_Type" = Unset,
- type: "list[GsaAttributeType] | None | Unset_Type" = Unset,
+ type_: "list[GsaAttributeType] | None | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeFilter - a model defined in Swagger
@@ -91,42 +91,42 @@ def __init__(
----------
guid: list[str] | None, optional
name: list[str] | None, optional
- type: list[GsaAttributeType] | None, optional
+ type_: list[GsaAttributeType] | None, optional
"""
- self._type: list[GsaAttributeType] | None | Unset_Type = Unset
+ self._type_: list[GsaAttributeType] | None | Unset_Type = Unset
self._name: list[str] | None | Unset_Type = Unset
self._guid: list[str] | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "list[GsaAttributeType] | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeFilter.
+ def type_(self) -> "list[GsaAttributeType] | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Returns
-------
list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ The type_ of this GsaQueryAttributeFilter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "list[GsaAttributeType] | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeFilter.
+ @type_.setter
+ def type_(self, type_: "list[GsaAttributeType] | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Parameters
----------
- type: list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ type_: list[GsaAttributeType] | None | Unset_Type
+ The type_ of this GsaQueryAttributeFilter.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "list[str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py
index e7e4ae4bc..9d49f451b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py
@@ -79,7 +79,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "bool",
"tabular_columns": "GsaQuerySlimNamedEntityProperties",
"target": "GsaQueryTabularAttributeTargetProperties",
- "type": "bool",
+ "type_": "bool",
"unit": "GsaQueryUnitProperties",
}
@@ -102,7 +102,7 @@ class GsaQueryAttributeProperties(ModelBase):
"name": "name",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -142,7 +142,7 @@ def __init__(
name: "bool | None | Unset_Type" = Unset,
tabular_columns: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTargetProperties | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
unit: "GsaQueryUnitProperties | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeProperties - a model defined in Swagger
@@ -167,11 +167,11 @@ def __init__(
name: bool | None, optional
tabular_columns: GsaQuerySlimNamedEntityProperties, optional
target: GsaQueryTabularAttributeTargetProperties, optional
- type: bool | None, optional
+ type_: bool | None, optional
unit: GsaQueryUnitProperties, optional
"""
self._is_protected: bool | None | Unset_Type = Unset
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._default_threshold_type: bool | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -193,8 +193,8 @@ def __init__(
if is_protected is not Unset:
self.is_protected = is_protected
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -255,26 +255,26 @@ def is_protected(self, is_protected: "bool | None | Unset_Type") -> None:
self._is_protected = is_protected
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ The type_ of this GsaQueryAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQueryAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def default_threshold_type(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attributes_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attributes_request.py
index 37339fd55..adbcb35a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attributes_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attributes_request.py
@@ -62,12 +62,12 @@ class GsaQueryAttributesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryAttributeProperties",
- "filter": "GsaQueryAttributeFilter",
+ "filter_": "GsaQueryAttributeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryAttributeProperties",
- filter: "GsaQueryAttributeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryAttributeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryAttributeProperties
- filter: GsaQueryAttributeFilter, optional
+ filter_: GsaQueryAttributeFilter, optional
"""
self._properties: GsaQueryAttributeProperties
- self._filter: GsaQueryAttributeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryAttributeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryAttributeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryAttributeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryAttributeFilter | Unset_Type":
- """Gets the filter of this GsaQueryAttributesRequest.
+ def filter_(self) -> "GsaQueryAttributeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryAttributesRequest.
Returns
-------
GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ The filter_ of this GsaQueryAttributesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryAttributeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryAttributesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryAttributeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryAttributesRequest.
Parameters
----------
- filter: GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ filter_: GsaQueryAttributeFilter | Unset_Type
+ The filter_ of this GsaQueryAttributesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_types_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_types_request.py
index 66f4bd6ed..07206bb58 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_types_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_types_request.py
@@ -62,12 +62,12 @@ class GsaQueryDiscreteTypesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryDiscreteTypeProperties",
- "filter": "GsaQueryDiscreteTypeFilter",
+ "filter_": "GsaQueryDiscreteTypeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryDiscreteTypeProperties",
- filter: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryDiscreteTypesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryDiscreteTypeProperties
- filter: GsaQueryDiscreteTypeFilter, optional
+ filter_: GsaQueryDiscreteTypeFilter, optional
"""
self._properties: GsaQueryDiscreteTypeProperties
- self._filter: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryDiscreteTypeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryDiscreteTypeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
- """Gets the filter of this GsaQueryDiscreteTypesRequest.
+ def filter_(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryDiscreteTypesRequest.
Returns
-------
GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryDiscreteTypesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryDiscreteTypesRequest.
Parameters
----------
- filter: GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ filter_: GsaQueryDiscreteTypeFilter | Unset_Type
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layout_sections_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layout_sections_request.py
index c2282c2f0..a50734ecd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layout_sections_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layout_sections_request.py
@@ -62,12 +62,12 @@ class GsaQueryLayoutSectionsRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryLayoutSectionProperties",
- "filter": "GsaQueryLayoutSectionFilter",
+ "filter_": "GsaQueryLayoutSectionFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryLayoutSectionProperties",
- filter: "GsaQueryLayoutSectionFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryLayoutSectionFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryLayoutSectionsRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryLayoutSectionProperties
- filter: GsaQueryLayoutSectionFilter, optional
+ filter_: GsaQueryLayoutSectionFilter, optional
"""
self._properties: GsaQueryLayoutSectionProperties
- self._filter: GsaQueryLayoutSectionFilter | Unset_Type = Unset
+ self._filter_: GsaQueryLayoutSectionFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryLayoutSectionProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryLayoutSectionProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryLayoutSectionFilter | Unset_Type":
- """Gets the filter of this GsaQueryLayoutSectionsRequest.
+ def filter_(self) -> "GsaQueryLayoutSectionFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryLayoutSectionsRequest.
Returns
-------
GsaQueryLayoutSectionFilter | Unset_Type
- The filter of this GsaQueryLayoutSectionsRequest.
+ The filter_ of this GsaQueryLayoutSectionsRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryLayoutSectionFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryLayoutSectionsRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryLayoutSectionFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryLayoutSectionsRequest.
Parameters
----------
- filter: GsaQueryLayoutSectionFilter | Unset_Type
- The filter of this GsaQueryLayoutSectionsRequest.
+ filter_: GsaQueryLayoutSectionFilter | Unset_Type
+ The filter_ of this GsaQueryLayoutSectionsRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layouts_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layouts_request.py
index d37b1f2a9..7da117bc5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layouts_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_layouts_request.py
@@ -62,12 +62,12 @@ class GsaQueryLayoutsRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryLayoutProperties",
- "filter": "GsaQueryLayoutFilter",
+ "filter_": "GsaQueryLayoutFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryLayoutProperties",
- filter: "GsaQueryLayoutFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryLayoutFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryLayoutsRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryLayoutProperties
- filter: GsaQueryLayoutFilter, optional
+ filter_: GsaQueryLayoutFilter, optional
"""
self._properties: GsaQueryLayoutProperties
- self._filter: GsaQueryLayoutFilter | Unset_Type = Unset
+ self._filter_: GsaQueryLayoutFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryLayoutProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryLayoutProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryLayoutFilter | Unset_Type":
- """Gets the filter of this GsaQueryLayoutsRequest.
+ def filter_(self) -> "GsaQueryLayoutFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryLayoutsRequest.
Returns
-------
GsaQueryLayoutFilter | Unset_Type
- The filter of this GsaQueryLayoutsRequest.
+ The filter_ of this GsaQueryLayoutsRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryLayoutFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryLayoutsRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryLayoutFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryLayoutsRequest.
Parameters
----------
- filter: GsaQueryLayoutFilter | Unset_Type
- The filter of this GsaQueryLayoutsRequest.
+ filter_: GsaQueryLayoutFilter | Unset_Type
+ The filter_ of this GsaQueryLayoutsRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute.py
index 3d861a9c5..1e8c4b2c3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute.py
@@ -64,14 +64,14 @@ class GsaQuerySlimTypedAttribute(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttribute - a model defined in Swagger
@@ -95,15 +95,15 @@ def __init__(
display_names: dict[str, str] | None, optional
guid: str | None, optional
name: str | None, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._display_names: dict[str, str] | None | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if display_names is not Unset:
self.display_names = display_names
if name is not Unset:
@@ -112,29 +112,29 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute_properties.py
index 64edd629a..00752db10 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_slim_typed_attribute_properties.py
@@ -63,13 +63,13 @@ class GsaQuerySlimTypedAttributeProperties(ModelBase):
swagger_types: dict[str, str] = {
"guid": "bool",
"name": "bool",
- "type": "bool",
+ "type_": "bool",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -81,7 +81,7 @@ def __init__(
*,
guid: "bool | None | Unset_Type" = Unset,
name: "bool | None | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttributeProperties - a model defined in Swagger
@@ -89,40 +89,40 @@ def __init__(
----------
guid: bool | None, optional
name: bool | None, optional
- type: bool | None, optional
+ type_: bool | None, optional
"""
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._name: bool | None | Unset_Type = Unset
self._guid: bool | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_tables_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_tables_request.py
index d82a6bb6e..16ca5f533 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_tables_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_tables_request.py
@@ -62,12 +62,12 @@ class GsaQueryTablesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryTableProperties",
- "filter": "GsaQueryTableFilter",
+ "filter_": "GsaQueryTableFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryTableProperties",
- filter: "GsaQueryTableFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryTableFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryTablesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryTableProperties
- filter: GsaQueryTableFilter, optional
+ filter_: GsaQueryTableFilter, optional
"""
self._properties: GsaQueryTableProperties
- self._filter: GsaQueryTableFilter | Unset_Type = Unset
+ self._filter_: GsaQueryTableFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryTableProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryTableProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryTableFilter | Unset_Type":
- """Gets the filter of this GsaQueryTablesRequest.
+ def filter_(self) -> "GsaQueryTableFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryTablesRequest.
Returns
-------
GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ The filter_ of this GsaQueryTablesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryTableFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryTablesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryTableFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryTablesRequest.
Parameters
----------
- filter: GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ filter_: GsaQueryTableFilter | Unset_Type
+ The filter_ of this GsaQueryTablesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_aggregation_datum_criterion.py
index ad95af5fe..798882188 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
) -> None:
"""GsaRangeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py
index 06cfdc0f1..5581494a3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py
@@ -72,7 +72,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -88,7 +88,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -112,7 +112,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -130,7 +130,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -145,7 +145,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_criterion.py
index 386bd503b..02ed5a5e7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_exists_criterion.py
index 2a01529a1..52baed461 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
) -> None:
"""GsaRangeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
index 2a63e9795..5bdcabc53 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_histogram_aggregation_datum_criterion.py
index 3853b71fc..afd4e8e34 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaRangeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_criterion.py
index ffa9902ff..56e3d6ef2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_guid": "ancestorGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
ancestor_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_history_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_history_criterion.py
index 07fda0759..5f801ae87 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_history_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_ancestor_history_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorHistoryCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_history_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_history_guid": "ancestorHistoryGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
ancestor_history_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorHistoryCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_history_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_export_failure.py
index 460c874ca..edd903258 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_export_failure.py
@@ -71,14 +71,14 @@ class GsaRecordExportFailure(GsaExportFailure):
"failed_records": "list[GsaRecordReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_records": "failedRecords",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_records: "list[GsaRecordReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.RECORD,
+ type_: "GsaExportFailureType" = GsaExportFailureType.RECORD,
) -> None:
"""GsaRecordExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_records: list[GsaRecordReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_records: list[GsaRecordReference]
self.failed_records = failed_records
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link.py
index 9efad2a5f..4e76832af 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link.py
@@ -72,7 +72,7 @@ class GsaRecordLink(GsaLink):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaRecordLink(GsaLink):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -100,7 +100,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.RECORDLINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.RECORDLINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordLink - a model defined in Swagger
@@ -113,7 +113,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -122,7 +122,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._include_indirect_links: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py
index 0d6d16391..cefdfcf09 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py
@@ -68,7 +68,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -79,7 +79,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -105,7 +105,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,13 +118,13 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._link_info: GsaLinkInfo
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -134,7 +134,7 @@ def __init__(
self.link_info = link_info
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -193,32 +193,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ The type_ of this GsaRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_member_criterion.py
index 4b3176b74..3a5779aad 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_member_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_member_criterion.py
@@ -64,12 +64,12 @@ class GsaRecordListMemberCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_list_identifiers": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"record_list_identifiers": "recordListIdentifiers",
}
@@ -80,17 +80,17 @@ class GsaRecordListMemberCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
record_list_identifiers: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordListMemberCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
record_list_identifiers: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._record_list_identifiers: list[str] | None | Unset_Type = Unset
if record_list_identifiers is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_search_criterion.py
index f96681b26..680490e89 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_search_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_list_search_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"contains_records": "list[GsaListItemRecordReference]",
"contains_records_in_databases": "list[str]",
"contains_records_in_integration_schemas": "list[str]",
@@ -80,7 +80,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"contains_records": "containsRecords",
"contains_records_in_databases": "containsRecordsInDatabases",
"contains_records_in_integration_schemas": "containsRecordsInIntegrationSchemas",
@@ -104,7 +104,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "recordList",
+ type_: "str" = "recordList",
contains_records: "list[GsaListItemRecordReference] | None | Unset_Type" = Unset,
contains_records_in_databases: "list[str] | None | Unset_Type" = Unset,
contains_records_in_integration_schemas: "list[str] | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
contains_records: list[GsaListItemRecordReference] | None, optional
contains_records_in_databases: list[str] | None, optional
contains_records_in_integration_schemas: list[str] | None, optional
@@ -134,7 +134,7 @@ def __init__(
user_can_add_or_remove_items: bool | None, optional
user_role: GsaUserRole, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name_contains: str | None | Unset_Type = Unset
self._user_role: GsaUserRole | Unset_Type = Unset
self._is_published: bool | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_criterion.py
index 8d6e7e4a6..778934fbd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_criterion.py
@@ -65,14 +65,14 @@ class GsaRecordPropertyCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaCriterionType",
+ "property_": "GsaSearchableRecordProperty",
}
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
}
subtype_mapping: dict[str, str] = {
@@ -86,49 +86,49 @@ def __init__(
self,
*,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
) -> None:
"""GsaRecordPropertyCriterion - a model defined in Swagger
Parameters
----------
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaCriterionType
+ property_: GsaSearchableRecordProperty, optional
"""
- super().__init__(type=type)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._inner_criterion: GsaDatumCriterion
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
self.inner_criterion = inner_criterion
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertyCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertyCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ The property_ of this GsaRecordPropertyCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertyCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertyCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertyCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def inner_criterion(self) -> "GsaDatumCriterion":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_sort_criterion.py
index dd422a529..766a63553 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_property_sort_criterion.py
@@ -68,15 +68,15 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaSortCriterionType",
+ "property_": "GsaSearchableRecordProperty",
"sort_direction": "GsaSortDirection",
"sort_type": "GsaSortType",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
"sort_direction": "sortDirection",
"sort_type": "sortType",
}
@@ -91,8 +91,8 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
sort_type: "GsaSortType | Unset_Type" = Unset,
) -> None:
@@ -100,44 +100,44 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaSortCriterionType
+ property_: GsaSearchableRecordProperty, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_, sort_direction=sort_direction)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._sort_type: GsaSortType | Unset_Type = Unset
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
if sort_type is not Unset:
self.sort_type = sort_type
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertySortCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertySortCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ The property_ of this GsaRecordPropertySortCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertySortCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertySortCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertySortCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def sort_type(self) -> "GsaSortType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_reference_criterion.py
index 7b2f27cd3..7521fadbd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_reference_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_reference_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"any_record_guids": "list[str]",
"any_record_history_guids": "list[str]",
"record_guid": "str",
@@ -74,7 +74,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "type": "type",
+ "type_": "type",
"any_record_guids": "anyRecordGuids",
"any_record_history_guids": "anyRecordHistoryGuids",
"record_guid": "recordGuid",
@@ -89,7 +89,7 @@ def __init__(
self,
*,
database_key: "str",
- type: "GsaCriterionType" = GsaCriterionType.REFERENCE,
+ type_: "GsaCriterionType" = GsaCriterionType.REFERENCE,
any_record_guids: "list[str] | None | Unset_Type" = Unset,
any_record_history_guids: "list[str] | None | Unset_Type" = Unset,
record_guid: "str | None | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
database_key: str
- type: GsaCriterionType
+ type_: GsaCriterionType
any_record_guids: list[str] | None, optional
any_record_history_guids: list[str] | None, optional
record_guid: str | None, optional
record_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._database_key: str
self._record_guid: str | None | Unset_Type = Unset
self._record_history_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_subset_criterion.py
index 9408c065d..d330252e6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_subset_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_subset_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordSubsetCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"subset_guid": "str",
"subset_identity": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"subset_guid": "subsetGuid",
"subset_identity": "subsetIdentity",
}
@@ -82,7 +82,7 @@ class GsaRecordSubsetCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.SUBSET,
+ type_: "GsaCriterionType" = GsaCriterionType.SUBSET,
subset_guid: "str | None | Unset_Type" = Unset,
subset_identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
subset_guid: str | None, optional
subset_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._subset_identity: int | None | Unset_Type = Unset
self._subset_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_relevance_sort_criterion.py
index afb0ba5d6..14dd54534 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_relevance_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_relevance_sort_criterion.py
@@ -68,12 +68,12 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -84,17 +84,17 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaRelevanceSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rich_text_value.py
index dda192d83..c9064965c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rich_text_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rich_text_value.py
@@ -62,12 +62,12 @@ class GsaRichTextValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"text": "str",
- "type": "GsaRichTextType",
+ "type_": "GsaRichTextType",
}
attribute_map: dict[str, str] = {
"text": "text",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -80,20 +80,20 @@ def __init__(
self,
*,
text: "str",
- type: "GsaRichTextType",
+ type_: "GsaRichTextType",
) -> None:
"""GsaRichTextValue - a model defined in Swagger
Parameters
----------
text: str
- type: GsaRichTextType
+ type_: GsaRichTextType
"""
self._text: str
- self._type: GsaRichTextType
+ self._type_: GsaRichTextType
self.text = text
- self.type = type
+ self.type_ = type_
@property
def text(self) -> "str":
@@ -124,32 +124,32 @@ def text(self, text: "str") -> None:
self._text = text
@property
- def type(self) -> "GsaRichTextType":
- """Gets the type of this GsaRichTextValue.
+ def type_(self) -> "GsaRichTextType":
+ """Gets the type_ of this GsaRichTextValue.
Returns
-------
GsaRichTextType
- The type of this GsaRichTextValue.
+ The type_ of this GsaRichTextValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRichTextType") -> None:
- """Sets the type of this GsaRichTextValue.
+ @type_.setter
+ def type_(self, type_: "GsaRichTextType") -> None:
+ """Sets the type_ of this GsaRichTextValue.
Parameters
----------
- type: GsaRichTextType
- The type of this GsaRichTextValue.
+ type_: GsaRichTextType
+ The type_ of this GsaRichTextValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rollup_export_failure.py
index 73fd6464b..2f2797b54 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rollup_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_rollup_export_failure.py
@@ -71,14 +71,14 @@ class GsaRollupExportFailure(GsaExportFailure):
"failed_rollup": "GsaRollupReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_rollup": "failedRollup",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_rollup: "GsaRollupReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
) -> None:
"""GsaRollupExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_rollup: GsaRollupReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_rollup: GsaRollupReference
self.failed_rollup = failed_rollup
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_result.py
index c222c560c..6bb611450 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_result.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_result.py
@@ -73,7 +73,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "str",
"table_identity": "int",
"tree_name": "str",
- "type": "GsaRecordType",
+ "type_": "GsaRecordType",
"version_control_state": "str",
"version_number": "int",
}
@@ -91,7 +91,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "tableGuid",
"table_identity": "tableIdentity",
"tree_name": "treeName",
- "type": "type",
+ "type_": "type",
"version_control_state": "versionControlState",
"version_number": "versionNumber",
}
@@ -118,7 +118,7 @@ def __init__(
table_guid: "str | Unset_Type" = Unset,
table_identity: "int | Unset_Type" = Unset,
tree_name: "str | None | Unset_Type" = Unset,
- type: "GsaRecordType | Unset_Type" = Unset,
+ type_: "GsaRecordType | Unset_Type" = Unset,
version_control_state: "str | None | Unset_Type" = Unset,
version_number: "int | Unset_Type" = Unset,
) -> None:
@@ -138,7 +138,7 @@ def __init__(
table_guid: str, optional
table_identity: int, optional
tree_name: str | None, optional
- type: GsaRecordType, optional
+ type_: GsaRecordType, optional
version_control_state: str | None, optional
version_number: int, optional
"""
@@ -154,7 +154,7 @@ def __init__(
self._version_control_state: str | None | Unset_Type = Unset
self._version_number: int | Unset_Type = Unset
self._parent_guid: str | None | Unset_Type = Unset
- self._type: GsaRecordType | Unset_Type = Unset
+ self._type_: GsaRecordType | Unset_Type = Unset
self._score: float | None | Unset_Type = Unset
self._sorting_value: GsaSortingValue | Unset_Type = Unset
@@ -181,8 +181,8 @@ def __init__(
self.version_number = version_number
if parent_guid is not Unset:
self.parent_guid = parent_guid
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if score is not Unset:
self.score = score
if sorting_value is not Unset:
@@ -474,29 +474,29 @@ def parent_guid(self, parent_guid: "str | None | Unset_Type") -> None:
self._parent_guid = parent_guid
@property
- def type(self) -> "GsaRecordType | Unset_Type":
- """Gets the type of this GsaSearchResult.
+ def type_(self) -> "GsaRecordType | Unset_Type":
+ """Gets the type_ of this GsaSearchResult.
Returns
-------
GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ The type_ of this GsaSearchResult.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordType | Unset_Type") -> None:
- """Sets the type of this GsaSearchResult.
+ @type_.setter
+ def type_(self, type_: "GsaRecordType | Unset_Type") -> None:
+ """Sets the type_ of this GsaSearchResult.
Parameters
----------
- type: GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ type_: GsaRecordType | Unset_Type
+ The type_ of this GsaSearchResult.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def score(self) -> "float | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_aggregation_datum_criterion.py
index 9ae808457..8f0bd7549 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py
index 053d2fd4f..5374dbe1f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py
@@ -73,7 +73,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"data_rule": "GsaSlimNamedEntity",
@@ -90,7 +90,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -115,7 +115,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
data_rule: "GsaSlimNamedEntity | Unset_Type" = Unset,
@@ -134,7 +134,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
data_rule: GsaSlimNamedEntity, optional
@@ -149,7 +149,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_criterion.py
index 15f09534d..160a0c0fb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_exists_criterion.py
index e04f6c506..a8ac051d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
) -> None:
"""GsaShortTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_prefix_datum_criterion.py
index 0688c28e2..585505c90 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaShortTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
) -> None:
"""GsaShortTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py
index d5dfebf6b..9f055c622 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py
@@ -67,7 +67,7 @@ class GsaSlimAttribute(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
}
@@ -78,7 +78,7 @@ class GsaSlimAttribute(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
}
@@ -99,7 +99,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
) -> None:
"""GsaSlimAttribute - a model defined in Swagger
@@ -112,10 +112,10 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -124,7 +124,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -135,32 +135,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttribute.
+ The type_ of this GsaSlimAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py
index 8a7559d39..9d1bd7ace 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py
@@ -67,7 +67,7 @@ class GsaSlimAttributeWithHelpPath(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"help_path": "str",
}
@@ -79,7 +79,7 @@ class GsaSlimAttributeWithHelpPath(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"help_path": "helpPath",
}
@@ -101,7 +101,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -115,12 +115,12 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
help_path: str | None, optional
"""
self._help_path: str | None | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -131,7 +131,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -164,32 +164,32 @@ def help_path(self, help_path: "str | None | Unset_Type") -> None:
self._help_path = help_path
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttributeWithHelpPath.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttributeWithHelpPath.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttributeWithHelpPath.
+ The type_ of this GsaSlimAttributeWithHelpPath.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttributeWithHelpPath.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttributeWithHelpPath.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttributeWithHelpPath.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttributeWithHelpPath.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter.py
index ad5bbdee1..6ba7260f1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter.py
@@ -64,14 +64,14 @@ class GsaSlimParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaSlimParameter - a model defined in Swagger
@@ -95,45 +95,45 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameter.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameter.
+ The type_ of this GsaSlimParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameter.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py
index 5260a2205..a9d45a3a1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py
@@ -64,7 +64,7 @@ class GsaSlimParameterWithHelpPath(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"help_path": "str",
}
@@ -72,7 +72,7 @@ class GsaSlimParameterWithHelpPath(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"help_path": "helpPath",
}
@@ -88,7 +88,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaSlimParameterWithHelpPath - a model defined in Swagger
@@ -98,18 +98,18 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
help_path: str | None, optional
"""
self._help_path: str | None | Unset_Type = Unset
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
if help_path is not Unset:
self.help_path = help_path
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@@ -137,32 +137,32 @@ def help_path(self, help_path: "str | None | Unset_Type") -> None:
self._help_path = help_path
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameterWithHelpPath.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameterWithHelpPath.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameterWithHelpPath.
+ The type_ of this GsaSlimParameterWithHelpPath.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameterWithHelpPath.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameterWithHelpPath.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameterWithHelpPath.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameterWithHelpPath.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_record_link_group.py
index 7f4bfe06e..12d597888 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_record_link_group.py
@@ -65,7 +65,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "str",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -75,7 +75,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -93,7 +93,7 @@ def __init__(
guid: "str",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -105,12 +105,12 @@ def __init__(
guid: str
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -119,7 +119,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -150,32 +150,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaSlimRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaSlimRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ The type_ of this GsaSlimRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaSlimRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaSlimRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaSlimRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_typed_attribute.py
index 25dedd3fd..38a4352e4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_typed_attribute.py
@@ -63,13 +63,13 @@ class GsaSlimTypedAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -83,7 +83,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaSlimTypedAttribute - a model defined in Swagger
@@ -91,43 +91,43 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimTypedAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ The type_ of this GsaSlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link.py
index 9825f5cac..ab84f1ef2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link.py
@@ -74,7 +74,7 @@ class GsaSmartLink(GsaLink):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -87,7 +87,7 @@ class GsaSmartLink(GsaLink):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -109,7 +109,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.SMARTLINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.SMARTLINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaSmartLink - a model defined in Swagger
@@ -124,7 +124,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -133,7 +133,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._forbid_orphans: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py
index 4d3d59997..aa5d76ca1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py
@@ -76,7 +76,7 @@ class GsaSmartRecordLinkGroup(GsaRecordLinkGroup):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -90,7 +90,7 @@ class GsaSmartRecordLinkGroup(GsaRecordLinkGroup):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -113,7 +113,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -129,7 +129,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -139,7 +139,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sort_criterion.py
index 0c87eb490..992848ef8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sort_criterion.py
@@ -63,12 +63,12 @@ class GsaSortCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -88,22 +88,22 @@ class GsaSortCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaSortCriterionType",
+ type_: "GsaSortCriterionType",
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
self._sort_direction: GsaSortDirection | Unset_Type = Unset
- self._type: GsaSortCriterionType
+ self._type_: GsaSortCriterionType
if sort_direction is not Unset:
self.sort_direction = sort_direction
- self.type = type
+ self.type_ = type_
@property
def sort_direction(self) -> "GsaSortDirection | Unset_Type":
@@ -131,32 +131,32 @@ def sort_direction(self, sort_direction: "GsaSortDirection | Unset_Type") -> Non
self._sort_direction = sort_direction
@property
- def type(self) -> "GsaSortCriterionType":
- """Gets the type of this GsaSortCriterion.
+ def type_(self) -> "GsaSortCriterionType":
+ """Gets the type_ of this GsaSortCriterion.
Returns
-------
GsaSortCriterionType
- The type of this GsaSortCriterion.
+ The type_ of this GsaSortCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortCriterionType") -> None:
- """Sets the type of this GsaSortCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaSortCriterionType") -> None:
+ """Sets the type_ of this GsaSortCriterion.
Parameters
----------
- type: GsaSortCriterionType
- The type of this GsaSortCriterion.
+ type_: GsaSortCriterionType
+ The type_ of this GsaSortCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sorting_value.py
index 70a059090..5dc7d0685 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_sorting_value.py
@@ -63,11 +63,11 @@ class GsaSortingValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,45 +85,45 @@ class GsaSortingValue(ModelBase):
def __init__(
self,
*,
- type: "GsaSortingValueType",
+ type_: "GsaSortingValueType",
) -> None:
"""GsaSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
"""
- self._type: GsaSortingValueType
+ self._type_: GsaSortingValueType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaSortingValueType":
- """Gets the type of this GsaSortingValue.
+ def type_(self) -> "GsaSortingValueType":
+ """Gets the type_ of this GsaSortingValue.
Returns
-------
GsaSortingValueType
- The type of this GsaSortingValue.
+ The type_ of this GsaSortingValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortingValueType") -> None:
- """Sets the type of this GsaSortingValue.
+ @type_.setter
+ def type_(self, type_: "GsaSortingValueType") -> None:
+ """Sets the type_ of this GsaSortingValue.
Parameters
----------
- type: GsaSortingValueType
- The type of this GsaSortingValue.
+ type_: GsaSortingValueType
+ The type_ of this GsaSortingValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_static_record_link_group.py
index 201f06ed8..1eacee596 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_static_record_link_group.py
@@ -74,7 +74,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_string_sorting_value.py
index 3b1ee4072..e50286ecb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_string_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_string_sorting_value.py
@@ -68,12 +68,12 @@ class GsaStringSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaStringSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.TEXT,
+ type_: "GsaSortingValueType" = GsaSortingValueType.TEXT,
value: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaStringSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py
index aff1869ab..0deca8973 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py
@@ -76,7 +76,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "str",
"table": "GsaSlimEntity",
"tabular_columns": "list[GsaTabularColumn]",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -96,7 +96,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "name",
"table": "table",
"tabular_columns": "tabularColumns",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -125,7 +125,7 @@ def __init__(
name: "str",
table: "GsaSlimEntity",
tabular_columns: "list[GsaTabularColumn]",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -147,7 +147,7 @@ def __init__(
name: str
table: GsaSlimEntity
tabular_columns: list[GsaTabularColumn]
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -162,7 +162,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute_link.py
index 814b89862..71dbef24a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute_link.py
@@ -72,7 +72,7 @@ class GsaTabularAttributeLink(GsaLink):
"name": "str",
"reverse_name": "str",
"target_attribute": "GsaSlimEntity",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaTabularAttributeLink(GsaLink):
"name": "name",
"reverse_name": "reverseName",
"target_attribute": "targetAttribute",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -102,7 +102,7 @@ def __init__(
name: "str",
reverse_name: "str",
target_attribute: "GsaSlimEntity",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.TABULARATTRIBUTE,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.TABULARATTRIBUTE,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaTabularAttributeLink - a model defined in Swagger
@@ -115,7 +115,7 @@ def __init__(
name: str
reverse_name: str
target_attribute: GsaSlimEntity
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -124,7 +124,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._target_attribute: GsaSlimEntity
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_datum_exists_criterion.py
index 0de9e14b9..fc0cb184c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.TABULAR,
+ type_: "GsaAttributeType" = GsaAttributeType.TABULAR,
) -> None:
"""GsaTabularDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_linking_value_criterion.py
index 17b9bf396..fc1caa6f4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_linking_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_linking_value_criterion.py
@@ -64,13 +64,13 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"values": "list[str]",
"linking_value_match_behavior": "GsaLinkingValueMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"values": "values",
"linking_value_match_behavior": "linkingValueMatchBehavior",
}
@@ -84,7 +84,7 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
+ type_: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
values: "list[str]",
linking_value_match_behavior: "GsaLinkingValueMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
values: list[str]
linking_value_match_behavior: GsaLinkingValueMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._values: list[str]
self._linking_value_match_behavior: GsaLinkingValueMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py
index c9f5231bc..068aeffc0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py
@@ -63,7 +63,7 @@ class GsaUpdateAttribute(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -75,7 +75,7 @@ class GsaUpdateAttribute(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -116,7 +116,7 @@ class GsaUpdateAttribute(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -130,7 +130,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -140,7 +140,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
name: str, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._axis_name: GsaUpdateAxisName | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
@@ -150,7 +150,7 @@ def __init__(
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if axis_name is not Unset:
@@ -169,32 +169,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaUpdateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaUpdateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaUpdateAttribute.
+ The type_ of this GsaUpdateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaUpdateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaUpdateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaUpdateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaUpdateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_cross_database_record_link_group.py
index 2ff9de35c..6f71938f8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_cross_database_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py
index 04ae638ba..978665bd9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py
index d1e4e1396..c3e2a84e6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -98,7 +98,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -125,7 +125,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py
index 12b5bb3b3..b8e509f7b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]",
"axis_name": "GsaUpdateAxisName",
@@ -79,7 +79,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -100,7 +100,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateDiscreteFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional
axis_name: GsaUpdateAxisName, optional
@@ -127,7 +127,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
index d294eaf82..12b72fef8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
index e775d87dc..903cbb7fb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_parameter.py
index d96e75055..2874b3351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py
index 34b6dc9d4..f03100b5e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -76,7 +76,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -94,7 +94,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -106,7 +106,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
@@ -115,7 +115,7 @@ def __init__(
values: list[GsaUpdateDiscreteParameterValue], optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
default_parameter_value_index=default_parameter_value_index,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_content.py
index 46505c090..d48a63aac 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateDiscreteParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaUpdateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaUpdateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_value.py
index 313e857bf..4974f3d11 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter_value.py
@@ -68,13 +68,13 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
}
@@ -86,7 +86,7 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str | Unset_Type = Unset
if name is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py
index 57b8c9ace..43bd9b53a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py
index 3af3db955..8e80be0e5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]",
"axis_name": "GsaUpdateAxisName",
@@ -81,7 +81,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -105,7 +105,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateFloatFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -122,7 +122,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional
axis_name: GsaUpdateAxisName, optional
@@ -136,7 +136,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
index dbc3039aa..0889d2a8e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
index d0f0e1a83..fa73358c1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_parameter.py
index b83dc1c03..f8b7c0f8a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py
index 06dc59a8a..0f3aae587 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py
index 79cfa4944..001fcd04e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -98,7 +98,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -125,7 +125,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py
index 3b40eae5a..14baa9d6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py
index c91798a5e..79ab673ea 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py
index 9fd0a7dfd..141912f48 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
@@ -86,7 +86,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
@@ -117,7 +117,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
@@ -139,7 +139,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
@@ -158,7 +158,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py
index 1930c6710..01a8980e1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -79,7 +79,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -103,7 +103,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
@@ -130,7 +130,7 @@ def __init__(
values: list[GsaUpdateNumericParameterValue], optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
default_parameter_value_index=default_parameter_value_index,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_content.py
index 078c8e4de..2156fc935 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateNumericParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaUpdateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaUpdateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_value.py
index deb006b77..f161de342 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"value": "value",
@@ -88,7 +88,7 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
value: "float | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str | None, optional
value: float, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py
index 1ede151c0..63829d830 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py
@@ -63,7 +63,7 @@ class GsaUpdateParameter(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -72,7 +72,7 @@ class GsaUpdateParameter(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -94,7 +94,7 @@ class GsaUpdateParameter(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterType",
+ type_: "GsaParameterType",
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -105,21 +105,21 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
help_path: str | None, optional
name: str, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._help_path: str | None | Unset_Type = Unset
self._default_parameter_value_guid: str | Unset_Type = Unset
self._default_parameter_value_index: int | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if help_path is not Unset:
self.help_path = help_path
if default_parameter_value_guid is not Unset:
@@ -132,32 +132,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameter.
+ The type_ of this GsaUpdateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def help_path(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_content.py
index 1848c7964..f3c032bda 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_content.py
@@ -64,12 +64,12 @@ class GsaUpdateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameterContent.
+ The type_ of this GsaUpdateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_value.py
index 1d0863d09..6ac267436 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter_value.py
@@ -63,12 +63,12 @@ class GsaUpdateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaUpdateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaUpdateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaUpdateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaUpdateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ The type_ of this GsaUpdateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaUpdateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaUpdateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaUpdateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py
index 12611bd44..737bbd878 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -96,7 +96,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py
index 67b62b66c..f36aede2c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaUpdateAxisName",
@@ -81,7 +81,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -105,7 +105,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -122,7 +122,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaUpdateAxisName, optional
@@ -136,7 +136,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_put_layout_item.py
index 67dcfca1d..c265afefb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_put_layout_item.py
@@ -67,12 +67,12 @@ class GsaUpdatePutLayoutItem(GsaPutLayoutItem):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -83,16 +83,16 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaPutType" = GsaPutType.UPDATE,
+ type_: "GsaPutType" = GsaPutType.UPDATE,
) -> None:
"""GsaUpdatePutLayoutItem - a model defined in Swagger
Parameters
----------
guid: str
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str
self.guid = guid
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py
index b05c5adea..76d8f6506 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -100,7 +100,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -127,7 +127,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py
index 623002e49..216891d66 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py
@@ -63,14 +63,14 @@ class GsaUpdateRecordLinkGroup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"name": "str",
"reverse_name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
@@ -91,7 +91,7 @@ class GsaUpdateRecordLinkGroup(ModelBase):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
reverse_name: "str | Unset_Type" = Unset,
@@ -100,17 +100,17 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
name: str, optional
reverse_name: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if reverse_name is not Unset:
self.reverse_name = reverse_name
if name is not Unset:
@@ -119,32 +119,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaUpdateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaUpdateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaUpdateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaUpdateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py
index 17845a919..306ede7f9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"data_rule": "GsaSlimEntity",
@@ -80,7 +80,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -102,7 +102,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
data_rule: GsaSlimEntity, optional
@@ -131,7 +131,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py
index 27b5f82f3..7a2b2cda2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"attribute_pairs": "list[GsaCreateAttributeLinkPair]",
"forbid_orphans": "bool",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_pairs": "attributePairs",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
@@ -97,7 +97,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" = Unset,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -109,7 +109,7 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
attribute_pairs: list[GsaCreateAttributeLinkPair], optional
forbid_orphans: bool, optional
guid: str, optional
@@ -117,7 +117,7 @@ def __init__(
referential_integrity_model: GsaReferentialIntegrityModel, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
self._attribute_pairs: list[GsaCreateAttributeLinkPair] | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_static_record_link_group.py
index aa19d9ba7..3e67cf788 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_static_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py
index b7ad3deb0..86447043c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -83,7 +83,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -109,7 +109,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -128,7 +128,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -144,7 +144,7 @@ def __init__(
target: GsaUpdateTabularAttributeTarget, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
default_threshold_type=default_threshold_type,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/job_queue_api.py
index f443d2f9b..1922c8331 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/job_queue_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/job_queue_api.py
@@ -120,24 +120,24 @@ def _create_job_with_http_info(
response_type_map=response_type_map,
)
- def delete_job(self, *, id: "str") -> "None":
+ def delete_job(self, *, id_: "str") -> "None":
"""Delete a job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._delete_job_with_http_info(id, _return_http_data_only=True)
+ data = self._delete_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _delete_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -145,15 +145,15 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'delete_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'delete_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -319,24 +319,24 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job(self, *, id: "str") -> "GsaJob | None":
+ def get_job(self, *, id_: "str") -> "GsaJob | None":
"""Get job by ID.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaJob | None
"""
- data = self._get_job_with_http_info(id, _return_http_data_only=True)
+ data = self._get_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -344,15 +344,15 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'get_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'get_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -388,28 +388,28 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def get_job_output_file(self, *, id: "str", file_name: "str") -> "None | str":
+ def get_job_output_file(self, *, id_: "str", file_name: "str") -> "None | str":
"""Retrieve a job output file.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
file_name: str
Returns
-------
None | str
"""
- data = self._get_job_output_file_with_http_info(id, file_name, _return_http_data_only=True)
+ data = self._get_job_output_file_with_http_info(id_, file_name, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _get_job_output_file_with_http_info(
- self, id: "str", file_name: "str", **kwargs: Any
+ self, id_: "str", file_name: "str", **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"file_name",
"_return_http_data_only",
"_preload_content",
@@ -424,10 +424,10 @@ def _get_job_output_file_with_http_info(
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_job_output_file'"
+ "Missing the required parameter 'id_' when calling 'get_job_output_file'"
)
# verify the required parameter "file_name" is set
if "file_name" not in params or params["file_name"] is None:
@@ -438,8 +438,8 @@ def _get_job_output_file_with_http_info(
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
if "file_name" in params and file_name is not None:
@@ -598,24 +598,24 @@ def _get_jobs_with_http_info(
response_type_map=response_type_map,
)
- def get_output_filenames(self, *, id: "str") -> "None | list[str]":
+ def get_output_filenames(self, *, id_: "str") -> "None | list[str]":
"""Get a job's output filenames.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None | list[str]
"""
- data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True)
+ data = self._get_output_filenames_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _get_output_filenames_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -625,17 +625,17 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
raise ValueError(
- "Missing the required parameter 'id' when calling 'get_output_filenames'"
+ "Missing the required parameter 'id_' when calling 'get_output_filenames'"
)
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -732,24 +732,24 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def move_to_top(self, *, id: "str") -> "None":
+ def move_to_top(self, *, id_: "str") -> "None":
"""Move a job to the top of the queue (actually sets the scheduled execution date to now, could be done with patch method).
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
None
"""
- data = self._move_to_top_with_http_info(id, _return_http_data_only=True)
+ data = self._move_to_top_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _move_to_top_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -757,15 +757,15 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method move_to_top")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'move_to_top'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -797,24 +797,24 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any:
response_type_map=response_type_map,
)
- def restore_job(self, *, id: "str") -> "GsaCreateJobRequest | None":
+ def restore_job(self, *, id_: "str") -> "GsaCreateJobRequest | None":
"""Get a job creation object based on an existing job.
This method makes a synchronous HTTP request.
Parameters
----------
- id: str
+ id_: str
Returns
-------
GsaCreateJobRequest | None
"""
- data = self._restore_job_with_http_info(id, _return_http_data_only=True)
+ data = self._restore_job_with_http_info(id_, _return_http_data_only=True)
return data # type: ignore[no-any-return]
- def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
- all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"]
+ def _restore_job_with_http_info(self, id_: "str", **kwargs: Any) -> Any:
+ all_params = ["id_", "_return_http_data_only", "_preload_content", "_request_timeout"]
params = locals()
for key, val in params["kwargs"].items():
@@ -822,15 +822,15 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
raise TypeError(f"Got an unexpected keyword argument '{key}' to method restore_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'restore_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'restore_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -867,7 +867,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any:
)
def resubmit(
- self, *, id: "str", body: "Optional[GsaResubmitJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None
) -> "GsaJob | None":
"""Resubmit a job.
@@ -875,21 +875,21 @@ def resubmit(
Parameters
----------
- id: str
+ id_: str
body: GsaResubmitJobRequest
Returns
-------
GsaJob | None
"""
- data = self._resubmit_with_http_info(id, body, _return_http_data_only=True)
+ data = self._resubmit_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _resubmit_with_http_info(
- self, id: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaResubmitJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -902,15 +902,15 @@ def _resubmit_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method resubmit")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'resubmit'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'resubmit'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
@@ -954,7 +954,7 @@ def _resubmit_with_http_info(
)
def update_job(
- self, *, id: "str", body: "Optional[GsaUpdateJobRequest]" = None
+ self, *, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None
) -> "GsaJob | None":
"""Update a job.
@@ -962,21 +962,21 @@ def update_job(
Parameters
----------
- id: str
+ id_: str
body: GsaUpdateJobRequest
Returns
-------
GsaJob | None
"""
- data = self._update_job_with_http_info(id, body, _return_http_data_only=True)
+ data = self._update_job_with_http_info(id_, body, _return_http_data_only=True)
return data # type: ignore[no-any-return]
def _update_job_with_http_info(
- self, id: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
+ self, id_: "str", body: "Optional[GsaUpdateJobRequest]" = None, **kwargs: Any
) -> Any:
all_params = [
- "id",
+ "id_",
"body",
"_return_http_data_only",
"_preload_content",
@@ -989,15 +989,15 @@ def _update_job_with_http_info(
raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_job")
params[key] = val
del params["kwargs"]
- # verify the required parameter "id" is set
- if "id" not in params or params["id"] is None:
- raise ValueError("Missing the required parameter 'id' when calling 'update_job'")
+ # verify the required parameter "id_" is set
+ if "id_" not in params or params["id_"] is None:
+ raise ValueError("Missing the required parameter 'id_' when calling 'update_job'")
collection_formats: dict[str, Any] = {}
path_params: dict[str, Any] = {}
- if "id" in params and id is not None:
- path_params["id"] = params["id"]
+ if "id_" in params and id_ is not None:
+ path_params["id"] = params["id_"]
query_params: list[Any] = []
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___databases_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___databases_api.py
index f838abade..c884ea24f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___databases_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___databases_api.py
@@ -688,7 +688,7 @@ def get_outbound_links(
self,
*,
database_key: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
) -> "GsaLinksInfo | None":
@@ -700,7 +700,7 @@ def get_outbound_links(
----------
database_key: str
See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)
- type: list[GsaLinkAttributeType]
+ type_: list[GsaLinkAttributeType]
The link types to include in the response. If not provided, all link types are included.
mode: str
The version control mode. - If set to read, uses the latest version of records and tables available in read mode. - If set to write, uses the latest version of records and tables available in write mode, and will error if the user does not have write access to the database. - If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.
@@ -712,21 +712,21 @@ def get_outbound_links(
GsaLinksInfo | None
"""
data = self._get_outbound_links_with_http_info(
- database_key, type, mode, x_ansys_vc_mode, _return_http_data_only=True
+ database_key, type_, mode, x_ansys_vc_mode, _return_http_data_only=True
)
return data # type: ignore[no-any-return]
def _get_outbound_links_with_http_info(
self,
database_key: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
**kwargs: Any,
) -> Any:
all_params = [
"database_key",
- "type",
+ "type_",
"mode",
"x_ansys_vc_mode",
"_return_http_data_only",
@@ -755,8 +755,8 @@ def _get_outbound_links_with_http_info(
path_params["database-key"] = params["database_key"]
query_params: list[Any] = []
- if "type" in params and type is not None:
- query_params.append(("type", params["type"]))
+ if "type_" in params and type_ is not None:
+ query_params.append(("type", params["type_"]))
collection_formats["type"] = "multi"
if "mode" in params and mode is not None:
query_params.append(("mode", params["mode"]))
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___tables_api.py
index 081ca9353..f7d2cfb98 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___tables_api.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/api/schema___tables_api.py
@@ -335,7 +335,7 @@ def get_inbound_links(
*,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
) -> "GsaLinksInfo | None":
@@ -350,7 +350,7 @@ def get_inbound_links(
See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)
table_guid: str
See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)
- type: list[GsaLinkAttributeType]
+ type_: list[GsaLinkAttributeType]
The link types to include in the response. If not provided, all link types are included.
mode: str
The version control mode. - If set to read, uses the latest version of records and tables available in read mode. - If set to write, uses the latest version of records and tables available in write mode, and will error if the user does not have write access to the database. - If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.
@@ -362,7 +362,7 @@ def get_inbound_links(
GsaLinksInfo | None
"""
data = self._get_inbound_links_with_http_info(
- database_key, table_guid, type, mode, x_ansys_vc_mode, _return_http_data_only=True
+ database_key, table_guid, type_, mode, x_ansys_vc_mode, _return_http_data_only=True
)
return data # type: ignore[no-any-return]
@@ -370,7 +370,7 @@ def _get_inbound_links_with_http_info(
self,
database_key: "str",
table_guid: "str",
- type: "Optional[list[GsaLinkAttributeType]]" = None,
+ type_: "Optional[list[GsaLinkAttributeType]]" = None,
mode: "Optional[str]" = None,
x_ansys_vc_mode: "Optional[str]" = None,
**kwargs: Any,
@@ -378,7 +378,7 @@ def _get_inbound_links_with_http_info(
all_params = [
"database_key",
"table_guid",
- "type",
+ "type_",
"mode",
"x_ansys_vc_mode",
"_return_http_data_only",
@@ -414,8 +414,8 @@ def _get_inbound_links_with_http_info(
path_params["table-guid"] = params["table_guid"]
query_params: list[Any] = []
- if "type" in params and type is not None:
- query_params.append(("type", params["type"]))
+ if "type_" in params and type_ is not None:
+ query_params.append(("type", params["type_"]))
collection_formats["type"] = "multi"
if "mode" in params and mode is not None:
query_params.append(("mode", params["mode"]))
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_activity_log_entry.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_activity_log_entry.py
index 96c6364f2..89da7fb72 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_activity_log_entry.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_activity_log_entry.py
@@ -61,16 +61,16 @@ class GsaActivityLogEntry(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "_date": "datetime",
"application_names": "list[str]",
+ "date_": "datetime",
"usage_mode": "GsaActivityLogUsageMode",
"username": "str",
"database_key": "str",
}
attribute_map: dict[str, str] = {
- "_date": "date",
"application_names": "applicationNames",
+ "date_": "date",
"usage_mode": "usageMode",
"username": "username",
"database_key": "databaseKey",
@@ -85,8 +85,8 @@ class GsaActivityLogEntry(ModelBase):
def __init__(
self,
*,
- _date: "datetime",
application_names: "list[str]",
+ date_: "datetime",
usage_mode: "GsaActivityLogUsageMode",
username: "str",
database_key: "str | None | Unset_Type" = Unset,
@@ -95,19 +95,19 @@ def __init__(
Parameters
----------
- _date: datetime
application_names: list[str]
+ date_: datetime
usage_mode: GsaActivityLogUsageMode
username: str
database_key: str | None, optional
"""
- self.__date: datetime
+ self._date_: datetime
self._username: str
self._application_names: list[str]
self._database_key: str | None | Unset_Type = Unset
self._usage_mode: GsaActivityLogUsageMode
- self._date = _date
+ self.date_ = date_
self.username = username
self.application_names = application_names
if database_key is not Unset:
@@ -115,32 +115,32 @@ def __init__(
self.usage_mode = usage_mode
@property
- def _date(self) -> "datetime":
- """Gets the _date of this GsaActivityLogEntry.
+ def date_(self) -> "datetime":
+ """Gets the date_ of this GsaActivityLogEntry.
Returns
-------
datetime
- The _date of this GsaActivityLogEntry.
+ The date_ of this GsaActivityLogEntry.
"""
- return self.__date
+ return self._date_
- @_date.setter
- def _date(self, _date: "datetime") -> None:
- """Sets the _date of this GsaActivityLogEntry.
+ @date_.setter
+ def date_(self, date_: "datetime") -> None:
+ """Sets the date_ of this GsaActivityLogEntry.
Parameters
----------
- _date: datetime
- The _date of this GsaActivityLogEntry.
+ date_: datetime
+ The date_ of this GsaActivityLogEntry.
"""
# Field is not nullable
- if _date is None:
- raise ValueError("Invalid value for '_date', must not be 'None'")
+ if date_ is None:
+ raise ValueError("Invalid value for 'date_', must not be 'None'")
# Field is required
- if _date is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for '_date', must not be 'Unset'")
- self.__date = _date
+ if date_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'date_', must not be 'Unset'")
+ self._date_ = date_
@property
def username(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation.py
index b74486ef8..a6e56f2f6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation.py
@@ -63,11 +63,11 @@ class GsaAggregation(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregation(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregation - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregation.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregation.
Returns
-------
GsaAggregationType
- The type of this GsaAggregation.
+ The type_ of this GsaAggregation.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregation.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregation.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregation.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregation.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_criterion.py
index 3351e9506..ba377ad6a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaAggregationCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationType",
+ type_: "GsaAggregationType",
) -> None:
"""GsaAggregationCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
"""
- self._type: GsaAggregationType
+ self._type_: GsaAggregationType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationType":
- """Gets the type of this GsaAggregationCriterion.
+ def type_(self) -> "GsaAggregationType":
+ """Gets the type_ of this GsaAggregationCriterion.
Returns
-------
GsaAggregationType
- The type of this GsaAggregationCriterion.
+ The type_ of this GsaAggregationCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationType") -> None:
- """Sets the type of this GsaAggregationCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationType") -> None:
+ """Sets the type_ of this GsaAggregationCriterion.
Parameters
----------
- type: GsaAggregationType
- The type of this GsaAggregationCriterion.
+ type_: GsaAggregationType
+ The type_ of this GsaAggregationCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_criterion.py
index 7a370a5be..def10253f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaAggregationDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -100,45 +100,45 @@ class GsaAggregationDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType",
+ type_: "GsaAggregationDatumCriterionType",
) -> None:
"""GsaAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- self._type: GsaAggregationDatumCriterionType
+ self._type_: GsaAggregationDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAggregationDatumCriterionType":
- """Gets the type of this GsaAggregationDatumCriterion.
+ def type_(self) -> "GsaAggregationDatumCriterionType":
+ """Gets the type_ of this GsaAggregationDatumCriterion.
Returns
-------
GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ The type_ of this GsaAggregationDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAggregationDatumCriterionType") -> None:
- """Sets the type of this GsaAggregationDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAggregationDatumCriterionType") -> None:
+ """Sets the type_ of this GsaAggregationDatumCriterion.
Parameters
----------
- type: GsaAggregationDatumCriterionType
- The type of this GsaAggregationDatumCriterion.
+ type_: GsaAggregationDatumCriterionType
+ The type_ of this GsaAggregationDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_exists_criterion.py
index 03b4a3000..ee8620979 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_aggregation_datum_exists_criterion.py
@@ -61,11 +61,11 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -77,43 +77,43 @@ class GsaAggregationDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaAggregationDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaAggregationDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaAggregationDatumExistsCriterion.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaAggregationDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaAggregationDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaAggregationDatumExistsCriterion.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaAggregationDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_association_chain_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_association_chain_create_put_layout_item.py
index 842055784..ca5d10e55 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_association_chain_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_association_chain_create_put_layout_item.py
@@ -72,14 +72,14 @@ class GsaAssociationChainCreatePutLayoutItem(GsaCreatePutLayoutItem):
"association_chain_links": "list[GsaNewLayoutAssociationChainLink]",
"association_chain_name": "str",
"item_type": "GsaNewLayoutItemType",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"association_chain_links": "associationChainLinks",
"association_chain_name": "associationChainName",
"item_type": "itemType",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -94,7 +94,7 @@ def __init__(
association_chain_links: "list[GsaNewLayoutAssociationChainLink]",
association_chain_name: "str",
item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.ASSOCIATIONCHAIN,
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
) -> None:
"""GsaAssociationChainCreatePutLayoutItem - a model defined in Swagger
@@ -103,9 +103,9 @@ def __init__(
association_chain_links: list[GsaNewLayoutAssociationChainLink]
association_chain_name: str
item_type: GsaNewLayoutItemType
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(item_type=item_type, type=type)
+ super().__init__(item_type=item_type, type_=type_)
self._association_chain_name: str
self._association_chain_links: list[GsaNewLayoutAssociationChainLink]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute.py
index 112da0119..793f5f668 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute.py
@@ -71,7 +71,7 @@ class GsaAttribute(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -86,7 +86,7 @@ class GsaAttribute(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -132,7 +132,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -149,7 +149,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -158,7 +158,7 @@ def __init__(
self._axis_name: GsaAxisName | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._info: GsaAttributeInfo
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -173,7 +173,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
self.info = info
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -287,32 +287,32 @@ def info(self, info: "GsaAttributeInfo") -> None:
self._info = info
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaAttribute.
+ The type_ of this GsaAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation.py
index ec6e3ec1c..2b0338234 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregation(GsaAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -77,7 +77,7 @@ class GsaAttributeAggregation(GsaAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_identity: int | None | Unset_Type = Unset
self._attribute_guid: str | None | Unset_Type = Unset
self._attribute_aggregation_type: GsaAttributeAggregationType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_criterion.py
index de753d043..fe84a835e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_criterion.py
@@ -69,7 +69,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -77,7 +77,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -98,7 +98,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,12 +108,12 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_exists_criterion.py
index 966b141f6..469c8b5e6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
"inner_criterion": "GsaAggregationDatumExistsCriterion",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
inner_criterion: "GsaAggregationDatumExistsCriterion",
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
inner_criterion: GsaAggregationDatumExistsCriterion
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_value_criterion.py
index 1041dbcc6..70bc52b62 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_aggregation_value_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_criterion_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"identity": "int",
"inner_criterion": "GsaAggregationDatumCriterion",
@@ -79,7 +79,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion):
attribute_map: dict[str, str] = {
"attribute_aggregation_criterion_type": "attributeAggregationCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"inner_criterion": "innerCriterion",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_criterion_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
inner_criterion: "GsaAggregationDatumCriterion | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_criterion_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str | None, optional
identity: int | None, optional
inner_criterion: GsaAggregationDatumCriterion, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_criterion_type=attribute_aggregation_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_create_put_layout_item.py
index dc070f471..7dfa234b3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_create_put_layout_item.py
@@ -71,7 +71,7 @@ class GsaAttributeCreatePutLayoutItem(GsaCreatePutLayoutItem):
swagger_types: dict[str, str] = {
"attribute_guid": "str",
"item_type": "GsaNewLayoutItemType",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"meta_attributes": "list[GsaNewLayoutAttributeItem]",
"read_only": "bool",
"required": "bool",
@@ -81,7 +81,7 @@ class GsaAttributeCreatePutLayoutItem(GsaCreatePutLayoutItem):
attribute_map: dict[str, str] = {
"attribute_guid": "attributeGuid",
"item_type": "itemType",
- "type": "type",
+ "type_": "type",
"meta_attributes": "metaAttributes",
"read_only": "readOnly",
"required": "required",
@@ -99,7 +99,7 @@ def __init__(
*,
attribute_guid: "str",
item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.ATTRIBUTE,
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
meta_attributes: "list[GsaNewLayoutAttributeItem] | None | Unset_Type" = Unset,
read_only: "bool | Unset_Type" = Unset,
required: "bool | Unset_Type" = Unset,
@@ -111,13 +111,13 @@ def __init__(
----------
attribute_guid: str
item_type: GsaNewLayoutItemType
- type: GsaPutType
+ type_: GsaPutType
meta_attributes: list[GsaNewLayoutAttributeItem] | None, optional
read_only: bool, optional
required: bool, optional
tabular_column_guids: list[str] | None, optional
"""
- super().__init__(item_type=item_type, type=type)
+ super().__init__(item_type=item_type, type_=type_)
self._attribute_guid: str
self._required: bool | Unset_Type = Unset
self._read_only: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_criterion.py
index c7bac34f6..d82400826 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_criterion.py
@@ -67,7 +67,7 @@ class GsaAttributeCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -75,7 +75,7 @@ class GsaAttributeCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -107,12 +107,12 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._is_meta_attribute: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_aggregation.py
index a2d2cc5ff..0aec098f2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.EXISTS,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_criterion.py
index 65faac741..33547a9f0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumExistsCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.EXISTS,
inner_criterion: "GsaDatumExistsCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumExistsCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_export_failure.py
index fbaee62f3..ffc8a0e56 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_export_failure.py
@@ -71,14 +71,14 @@ class GsaAttributeExportFailure(GsaExportFailure):
"failed_attributes": "list[GsaAttributeReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_attributes": "failedAttributes",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_attributes: "list[GsaAttributeReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE,
) -> None:
"""GsaAttributeExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_attributes: list[GsaAttributeReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_attributes: list[GsaAttributeReference]
self.failed_attributes = failed_attributes
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_matches_criterion.py
index 8e57fdf19..f041a9234 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -80,7 +80,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
"inner_criterion": "innerCriterion",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -97,7 +97,7 @@ def __init__(
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.MATCHES,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -108,14 +108,14 @@ def __init__(
----------
attribute_criterion_type: GsaAttributeCriterionType
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_not_applicable_criterion.py
index 9009a8683..4938de190 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_not_applicable_criterion.py
@@ -70,7 +70,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
"""
swagger_types: dict[str, str] = {
"attribute_criterion_type": "GsaAttributeCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
"is_meta_attribute": "bool",
@@ -78,7 +78,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion):
attribute_map: dict[str, str] = {
"attribute_criterion_type": "attributeCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
"is_meta_attribute": "isMetaAttribute",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
attribute_criterion_type: "GsaAttributeCriterionType" = GsaAttributeCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
+ type_: "GsaCriterionType" = GsaCriterionType.ATTRIBUTE,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
is_meta_attribute: "bool | Unset_Type" = Unset,
@@ -102,14 +102,14 @@ def __init__(
Parameters
----------
attribute_criterion_type: GsaAttributeCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
is_meta_attribute: bool, optional
"""
super().__init__(
attribute_criterion_type=attribute_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
is_meta_attribute=is_meta_attribute,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_sort_criterion.py
index fc7f62fc5..db0ef8ed6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_sort_criterion.py
@@ -68,7 +68,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"attribute_type": "GsaAttributeType",
"guid": "str",
"identity": "int",
@@ -77,7 +77,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"guid": "guid",
"identity": "identity",
@@ -95,7 +95,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.ATTRIBUTE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
@@ -106,14 +106,14 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
attribute_type: GsaAttributeType, optional
guid: str | None, optional
identity: int | None, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._attribute_type: GsaAttributeType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_value_aggregation.py
index ab523a299..b092f8d1a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_value_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_attribute_value_aggregation.py
@@ -70,7 +70,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
"""
swagger_types: dict[str, str] = {
"attribute_aggregation_type": "GsaAttributeAggregationType",
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"aggregation_datum": "GsaAggregationDatum",
"attribute_guid": "str",
"attribute_identity": "int",
@@ -79,7 +79,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation):
attribute_map: dict[str, str] = {
"attribute_aggregation_type": "attributeAggregationType",
- "type": "type",
+ "type_": "type",
"aggregation_datum": "aggregationDatum",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
@@ -96,7 +96,7 @@ def __init__(
self,
*,
attribute_aggregation_type: "GsaAttributeAggregationType" = GsaAttributeAggregationType.VALUE,
- type: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
+ type_: "GsaAggregationType" = GsaAggregationType.ATTRIBUTE,
aggregation_datum: "GsaAggregationDatum | Unset_Type" = Unset,
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
attribute_aggregation_type: GsaAttributeAggregationType
- type: GsaAggregationType
+ type_: GsaAggregationType
aggregation_datum: GsaAggregationDatum, optional
attribute_guid: str | None, optional
attribute_identity: int | None, optional
@@ -115,7 +115,7 @@ def __init__(
"""
super().__init__(
attribute_aggregation_type=attribute_aggregation_type,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
count=count,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_boolean_criterion.py
index b7ef1d835..d92900bd1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_boolean_criterion.py
@@ -64,17 +64,17 @@ class GsaBooleanCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
- "_none": "list[GsaCriterion]",
- "all": "list[GsaCriterion]",
- "any": "list[GsaCriterion]",
+ "type_": "GsaCriterionType",
+ "all_": "list[GsaCriterion]",
+ "any_": "list[GsaCriterion]",
+ "none_": "list[GsaCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {
@@ -88,103 +88,103 @@ class GsaBooleanCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
- _none: "list[GsaCriterion] | None | Unset_Type" = Unset,
- all: "list[GsaCriterion] | None | Unset_Type" = Unset,
- any: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.BOOLEAN,
+ all_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ any_: "list[GsaCriterion] | None | Unset_Type" = Unset,
+ none_: "list[GsaCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaBooleanCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
- _none: list[GsaCriterion] | None, optional
- all: list[GsaCriterion] | None, optional
- any: list[GsaCriterion] | None, optional
+ type_: GsaCriterionType
+ all_: list[GsaCriterion] | None, optional
+ any_: list[GsaCriterion] | None, optional
+ none_: list[GsaCriterion] | None, optional
"""
- super().__init__(type=type)
- self._all: list[GsaCriterion] | None | Unset_Type = Unset
- self._any: list[GsaCriterion] | None | Unset_Type = Unset
- self.__none: list[GsaCriterion] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._any_: list[GsaCriterion] | None | Unset_Type = Unset
+ self._none_: list[GsaCriterion] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the all of this GsaBooleanCriterion.
+ def all_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ The all_ of this GsaBooleanCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the all of this GsaBooleanCriterion.
+ @all_.setter
+ def all_(self, all_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaBooleanCriterion.
Only records that match all of these criteria are returned.
Parameters
----------
- all: list[GsaCriterion] | None | Unset_Type
- The all of this GsaBooleanCriterion.
+ all_: list[GsaCriterion] | None | Unset_Type
+ The all_ of this GsaBooleanCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the any of this GsaBooleanCriterion.
+ def any_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ The any_ of this GsaBooleanCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the any of this GsaBooleanCriterion.
+ @any_.setter
+ def any_(self, any_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaBooleanCriterion.
Only results that match any of these criteria are returned.
Parameters
----------
- any: list[GsaCriterion] | None | Unset_Type
- The any of this GsaBooleanCriterion.
+ any_: list[GsaCriterion] | None | Unset_Type
+ The any_ of this GsaBooleanCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[GsaCriterion] | None | Unset_Type":
- """Gets the _none of this GsaBooleanCriterion.
+ def none_(self) -> "list[GsaCriterion] | None | Unset_Type":
+ """Gets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Returns
-------
list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ The none_ of this GsaBooleanCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[GsaCriterion] | None | Unset_Type") -> None:
- """Sets the _none of this GsaBooleanCriterion.
+ @none_.setter
+ def none_(self, none_: "list[GsaCriterion] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaBooleanCriterion.
Only results that match none of these criteria are returned.
Parameters
----------
- _none: list[GsaCriterion] | None | Unset_Type
- The _none of this GsaBooleanCriterion.
+ none_: list[GsaCriterion] | None | Unset_Type
+ The none_ of this GsaBooleanCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_chart_data.py
index 21882cd11..daf23393a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_chart_data.py
@@ -63,13 +63,13 @@ class GsaChartData(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"record_version_guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"record_version_guid": "recordVersionGuid",
}
@@ -92,7 +92,7 @@ class GsaChartData(ModelBase):
def __init__(
self,
*,
- type: "GsaChartDataType",
+ type_: "GsaChartDataType",
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
record_version_guid: "str | Unset_Type" = Unset,
) -> None:
@@ -100,47 +100,47 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
record_version_guid: str, optional
"""
- self._type: GsaChartDataType
+ self._type_: GsaChartDataType
self._record_version_guid: str | Unset_Type = Unset
self._bubble_axis_value: GsaDataExportRange | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if record_version_guid is not Unset:
self.record_version_guid = record_version_guid
if bubble_axis_value is not Unset:
self.bubble_axis_value = bubble_axis_value
@property
- def type(self) -> "GsaChartDataType":
- """Gets the type of this GsaChartData.
+ def type_(self) -> "GsaChartDataType":
+ """Gets the type_ of this GsaChartData.
Returns
-------
GsaChartDataType
- The type of this GsaChartData.
+ The type_ of this GsaChartData.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaChartDataType") -> None:
- """Sets the type of this GsaChartData.
+ @type_.setter
+ def type_(self, type_: "GsaChartDataType") -> None:
+ """Sets the type_ of this GsaChartData.
Parameters
----------
- type: GsaChartDataType
- The type of this GsaChartData.
+ type_: GsaChartDataType
+ The type_ of this GsaChartData.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def record_version_guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_continuous_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_continuous_quality_system.py
index e9c94f682..3422eac87 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_continuous_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_continuous_quality_system.py
@@ -72,7 +72,7 @@ class GsaContinuousQualitySystem(GsaQualitySystem):
"guid": "str",
"name": "str",
"threshold_value": "float",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
}
attribute_map: dict[str, str] = {
@@ -80,7 +80,7 @@ class GsaContinuousQualitySystem(GsaQualitySystem):
"guid": "guid",
"name": "name",
"threshold_value": "thresholdValue",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -94,7 +94,7 @@ def __init__(
guid: "str",
name: "str",
threshold_value: "float",
- type: "GsaQualitySystemType" = GsaQualitySystemType.CONTINUOUS,
+ type_: "GsaQualitySystemType" = GsaQualitySystemType.CONTINUOUS,
) -> None:
"""GsaContinuousQualitySystem - a model defined in Swagger
@@ -104,9 +104,9 @@ def __init__(
guid: str
name: str
threshold_value: float
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
"""
- super().__init__(guid=guid, name=name, type=type)
+ super().__init__(guid=guid, name=name, type_=type_)
self._does_quality_decrease_with_value: bool
self._threshold_value: float
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_attribute.py
index 6f0cd99cb..4b1a6ce6d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_attribute.py
@@ -64,7 +64,7 @@ class GsaCreateAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -75,7 +75,7 @@ class GsaCreateAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -114,7 +114,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -127,7 +127,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -135,7 +135,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
meta_attributes: list[GsaCreateAttribute] | None, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
@@ -144,7 +144,7 @@ def __init__(
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if help_path is not Unset:
@@ -160,32 +160,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaCreateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaCreateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaCreateAttribute.
+ The type_ of this GsaCreateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaCreateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaCreateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaCreateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaCreateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_continuous_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_continuous_quality_system.py
index 65bc1e941..ee1a6bdf9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_continuous_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_continuous_quality_system.py
@@ -70,7 +70,7 @@ class GsaCreateContinuousQualitySystem(GsaCreateQualitySystem):
swagger_types: dict[str, str] = {
"name": "str",
"threshold_value": "float",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
"does_quality_decrease_with_value": "bool",
"guid": "str",
}
@@ -78,7 +78,7 @@ class GsaCreateContinuousQualitySystem(GsaCreateQualitySystem):
attribute_map: dict[str, str] = {
"name": "name",
"threshold_value": "thresholdValue",
- "type": "type",
+ "type_": "type",
"does_quality_decrease_with_value": "doesQualityDecreaseWithValue",
"guid": "guid",
}
@@ -92,7 +92,7 @@ def __init__(
*,
name: "str",
threshold_value: "float",
- type: "GsaQualitySystemType" = GsaQualitySystemType.CONTINUOUS,
+ type_: "GsaQualitySystemType" = GsaQualitySystemType.CONTINUOUS,
does_quality_decrease_with_value: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
) -> None:
@@ -102,11 +102,11 @@ def __init__(
----------
name: str
threshold_value: float
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
does_quality_decrease_with_value: bool, optional
guid: str, optional
"""
- super().__init__(name=name, type=type, guid=guid)
+ super().__init__(name=name, type_=type_, guid=guid)
self._does_quality_decrease_with_value: bool | Unset_Type = Unset
self._threshold_value: float
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_cross_database_record_link_group.py
index 7c8034b00..b1c2ecf6f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_cross_database_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateCrossDatabaseLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaCreateCrossDatabaseLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -108,11 +108,11 @@ def __init__(
link_target: GsaCreateCrossDatabaseLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateCrossDatabaseLinkTarget
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_date_time_attribute.py
index 5349a92fe..bf651512c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_date_time_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_attribute.py
index c4be0dbe0..c1b1fd6b9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -81,7 +81,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -102,7 +102,7 @@ def __init__(
*,
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -117,7 +117,7 @@ def __init__(
----------
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute.py
index cf6aee576..49015a738 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute.py
@@ -69,7 +69,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "list[GsaCreateDiscreteFunctionalAttributeParameter]",
"discrete_type": "GsaSlimEntity",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -82,7 +82,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute):
"attribute_parameters": "attributeParameters",
"discrete_type": "discreteType",
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -104,7 +104,7 @@ def __init__(
attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]",
discrete_type: "GsaSlimEntity",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter]
discrete_type: GsaSlimEntity
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -129,7 +129,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
index 709bbeb0a..ee3833915 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
index 96f1cdeef..46b0322bd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_parameter.py
index a76dda37e..59c206e6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter.py
index 67eb7e790..d5cbdef28 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateDiscreteParameterValue]",
"guid": "str",
}
@@ -76,7 +76,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter):
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
}
@@ -92,7 +92,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaCreateDiscreteParameterValue]",
guid: "str | Unset_Type" = Unset,
) -> None:
@@ -102,14 +102,14 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateDiscreteParameterValue]
guid: str, optional
"""
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
)
self._values: list[GsaCreateDiscreteParameterValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_content.py
index 5dbb40f27..d37487d20 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateDiscreteParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaCreateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaCreateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_value.py
index ebe58a203..fd9279392 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_parameter_value.py
@@ -69,13 +69,13 @@ class GsaCreateDiscreteParameterValue(GsaCreateParameterValue):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateDiscreteParameterValue - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_quality_system.py
index eaa129824..44b2d1bfe 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_discrete_quality_system.py
@@ -70,7 +70,7 @@ class GsaCreateDiscreteQualitySystem(GsaCreateQualitySystem):
swagger_types: dict[str, str] = {
"name": "str",
"quality_discrete_values": "list[GsaCreateQualityDiscreteValue]",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
"guid": "str",
"threshold_value_name": "str",
}
@@ -78,7 +78,7 @@ class GsaCreateDiscreteQualitySystem(GsaCreateQualitySystem):
attribute_map: dict[str, str] = {
"name": "name",
"quality_discrete_values": "qualityDiscreteValues",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"threshold_value_name": "thresholdValueName",
}
@@ -94,7 +94,7 @@ def __init__(
*,
name: "str",
quality_discrete_values: "list[GsaCreateQualityDiscreteValue]",
- type: "GsaQualitySystemType" = GsaQualitySystemType.DISCRETE,
+ type_: "GsaQualitySystemType" = GsaQualitySystemType.DISCRETE,
guid: "str | Unset_Type" = Unset,
threshold_value_name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -104,11 +104,11 @@ def __init__(
----------
name: str
quality_discrete_values: list[GsaCreateQualityDiscreteValue]
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
guid: str, optional
threshold_value_name: str | None, optional
"""
- super().__init__(name=name, type=type, guid=guid)
+ super().__init__(name=name, type_=type_, guid=guid)
self._threshold_value_name: str | None | Unset_Type = Unset
self._quality_discrete_values: list[GsaCreateQualityDiscreteValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_file_attribute.py
index 25302d6ae..eaf975232 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_file_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute.py
index 2f2fd7150..298f84bfb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute.py
@@ -68,7 +68,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
swagger_types: dict[str, str] = {
"attribute_parameters": "list[GsaCreateFloatFunctionalAttributeParameter]",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -83,7 +83,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"attribute_parameters": "attributeParameters",
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -108,7 +108,7 @@ def __init__(
*,
attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]",
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
----------
attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter]
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -138,7 +138,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
index 4749703c4..482f295e7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaCreateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaCreateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
index e00ef0def..7617907b5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_parameter.py
index 5eacf67e2..8e4a4b40c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaCreateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_hyperlink_attribute.py
index 083571a50..c1bc21384 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_hyperlink_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_integer_attribute.py
index 961d46442..f92595675 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_integer_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -101,7 +101,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_job_request.py
index 7680f2021..a4ad76d0d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_job_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_job_request.py
@@ -67,7 +67,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "str",
"parameters": "str",
"scheduled_execution_date": "datetime",
- "type": "str",
+ "type_": "str",
"version": "int",
}
@@ -78,7 +78,7 @@ class GsaCreateJobRequest(ModelBase):
"name": "name",
"parameters": "parameters",
"scheduled_execution_date": "scheduledExecutionDate",
- "type": "type",
+ "type_": "type",
"version": "version",
}
@@ -95,7 +95,7 @@ def __init__(
name: "str | None | Unset_Type" = Unset,
parameters: "str | None | Unset_Type" = Unset,
scheduled_execution_date: "datetime | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
version: "int | Unset_Type" = Unset,
) -> None:
"""GsaCreateJobRequest - a model defined in Swagger
@@ -108,13 +108,13 @@ def __init__(
name: str | None, optional
parameters: str | None, optional
scheduled_execution_date: datetime | None, optional
- type: str | None, optional
+ type_: str | None, optional
version: int, optional
"""
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
self._culture: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._version: int | Unset_Type = Unset
self._scheduled_execution_date: datetime | None | Unset_Type = Unset
self._input_file_ids: list[str] | None | Unset_Type = Unset
@@ -126,8 +126,8 @@ def __init__(
self.description = description
if culture is not Unset:
self.culture = culture
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if version is not Unset:
self.version = version
if scheduled_execution_date is not Unset:
@@ -204,26 +204,26 @@ def culture(self, culture: "str | None | Unset_Type") -> None:
self._culture = culture
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaCreateJobRequest.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaCreateJobRequest.
Returns
-------
str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ The type_ of this GsaCreateJobRequest.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaCreateJobRequest.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaCreateJobRequest.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaCreateJobRequest.
+ type_: str | None | Unset_Type
+ The type_ of this GsaCreateJobRequest.
"""
- self._type = type
+ self._type_ = type_
@property
def version(self) -> "int | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_logical_attribute.py
index ca8a0fb6d..d8dc3808c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_logical_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_long_text_attribute.py
index 7ed0053a5..39b5de449 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_long_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_maths_functional_attribute.py
index b4fd10446..df34591a4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_maths_functional_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
"allow_extrapolation": "bool",
@@ -87,7 +87,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
"allow_extrapolation": "allowExtrapolation",
@@ -119,7 +119,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
allow_extrapolation: "bool | Unset_Type" = Unset,
@@ -141,7 +141,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
allow_extrapolation: bool, optional
@@ -160,7 +160,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter.py
index f9ce7ff95..a5006b54d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaCreateNumericParameterValue]",
"guid": "str",
"unit": "GsaSlimEntity",
@@ -83,7 +83,7 @@ class GsaCreateNumericParameter(GsaCreateParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"guid": "guid",
"unit": "unit",
@@ -106,7 +106,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaCreateNumericParameterValue]",
guid: "str | Unset_Type" = Unset,
unit: "GsaSlimEntity | Unset_Type" = Unset,
@@ -120,7 +120,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaCreateNumericParameterValue]
guid: str, optional
unit: GsaSlimEntity, optional
@@ -128,7 +128,7 @@ def __init__(
super().__init__(
default_parameter_value_index=default_parameter_value_index,
name=name,
- type=type,
+ type_=type_,
guid=guid,
)
self._is_restricted: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_content.py
index e85504309..4a6f0d1cb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaCreateNumericParameterContent(GsaCreateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaCreateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaCreateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaCreateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaCreateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_value.py
index cb7a81f59..b04a5908c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"guid": "guid",
"name": "name",
@@ -88,7 +88,7 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
guid: str, optional
name: str | None, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter.py
index bfcc8b07d..9712edc4d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter.py
@@ -65,14 +65,14 @@ class GsaCreateParameter(ModelBase):
swagger_types: dict[str, str] = {
"default_parameter_value_index": "int",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"default_parameter_value_index": "defaultParameterValueIndex",
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -92,7 +92,7 @@ def __init__(
*,
default_parameter_value_index: "int",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateParameter - a model defined in Swagger
@@ -101,47 +101,47 @@ def __init__(
----------
default_parameter_value_index: int
name: str
- type: GsaParameterType
+ type_: GsaParameterType
guid: str, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._default_parameter_value_index: int
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.default_parameter_value_index = default_parameter_value_index
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameter.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameter.
+ The type_ of this GsaCreateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_parameter_value_index(self) -> "int":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_content.py
index aa1acc71c..0b7b9479d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_content.py
@@ -64,12 +64,12 @@ class GsaCreateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaCreateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaCreateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaCreateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaCreateParameterContent.
+ The type_ of this GsaCreateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaCreateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaCreateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaCreateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaCreateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_value.py
index eb8e7eea9..1f543e22a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_parameter_value.py
@@ -63,12 +63,12 @@ class GsaCreateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaCreateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaCreateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaCreateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ The type_ of this GsaCreateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaCreateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaCreateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaCreateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaCreateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_picture_attribute.py
index 43a394ccd..9c63e73cb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_picture_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
"guid": "guid",
@@ -95,7 +95,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
guid: str, optional
@@ -118,7 +118,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_point_attribute.py
index fc8d71fe9..c0604bf55 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_point_attribute.py
@@ -67,7 +67,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -82,7 +82,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -107,7 +107,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -124,7 +124,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -138,7 +138,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_discrete_value.py
index 5c12acf99..9163d4d88 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_discrete_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_discrete_value.py
@@ -67,13 +67,13 @@ class GsaCreatePutDiscreteValue(GsaPutDiscreteValue):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreatePutDiscreteValue - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
name: str
- type: GsaPutType
+ type_: GsaPutType
guid: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str
self._guid: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_layout_item.py
index f172326ff..53429328e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_layout_item.py
@@ -69,12 +69,12 @@ class GsaCreatePutLayoutItem(GsaPutLayoutItem):
"""
swagger_types: dict[str, str] = {
"item_type": "GsaNewLayoutItemType",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"item_type": "itemType",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -95,16 +95,16 @@ def __init__(
self,
*,
item_type: "GsaNewLayoutItemType",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
) -> None:
"""GsaCreatePutLayoutItem - a model defined in Swagger
Parameters
----------
item_type: GsaNewLayoutItemType
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._item_type: GsaNewLayoutItemType
self.item_type = item_type
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission.py
index 74d06e41c..f5a560a79 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission.py
@@ -68,7 +68,7 @@ class GsaCreatePutPermission(GsaPutPermission):
swagger_types: dict[str, str] = {
"name": "str",
"role": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"description": "str",
"set_message": "str",
"unset_message": "str",
@@ -77,7 +77,7 @@ class GsaCreatePutPermission(GsaPutPermission):
attribute_map: dict[str, str] = {
"name": "name",
"role": "role",
- "type": "type",
+ "type_": "type",
"description": "description",
"set_message": "setMessage",
"unset_message": "unsetMessage",
@@ -92,7 +92,7 @@ def __init__(
*,
name: "str",
role: "str",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
description: "str | None | Unset_Type" = Unset,
set_message: "str | None | Unset_Type" = Unset,
unset_message: "str | None | Unset_Type" = Unset,
@@ -103,12 +103,12 @@ def __init__(
----------
name: str
role: str
- type: GsaPutType
+ type_: GsaPutType
description: str | None, optional
set_message: str | None, optional
unset_message: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str
self._role: str
self._description: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission_category.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission_category.py
index fb858d379..d906b0e79 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission_category.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_put_permission_category.py
@@ -68,13 +68,13 @@ class GsaCreatePutPermissionCategory(GsaPutPermissionCategory):
swagger_types: dict[str, str] = {
"name": "str",
"permissions": "list[GsaCreatePermission]",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"name": "name",
"permissions": "permissions",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,7 +88,7 @@ def __init__(
*,
name: "str",
permissions: "list[GsaCreatePermission]",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
) -> None:
"""GsaCreatePutPermissionCategory - a model defined in Swagger
@@ -96,9 +96,9 @@ def __init__(
----------
name: str
permissions: list[GsaCreatePermission]
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str
self._permissions: list[GsaCreatePermission]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_quality_system.py
index 76734c3b8..833fc66c2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_quality_system.py
@@ -64,13 +64,13 @@ class GsaCreateQualitySystem(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaQualitySystemType",
+ type_: "GsaQualitySystemType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateQualitySystem - a model defined in Swagger
@@ -97,45 +97,45 @@ def __init__(
Parameters
----------
name: str
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
guid: str, optional
"""
- self._type: GsaQualitySystemType
+ self._type_: GsaQualitySystemType
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaQualitySystemType":
- """Gets the type of this GsaCreateQualitySystem.
+ def type_(self) -> "GsaQualitySystemType":
+ """Gets the type_ of this GsaCreateQualitySystem.
Returns
-------
GsaQualitySystemType
- The type of this GsaCreateQualitySystem.
+ The type_ of this GsaCreateQualitySystem.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaQualitySystemType") -> None:
- """Sets the type of this GsaCreateQualitySystem.
+ @type_.setter
+ def type_(self, type_: "GsaQualitySystemType") -> None:
+ """Sets the type_ of this GsaCreateQualitySystem.
Parameters
----------
- type: GsaQualitySystemType
- The type of this GsaCreateQualitySystem.
+ type_: GsaQualitySystemType
+ The type_ of this GsaCreateQualitySystem.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_range_attribute.py
index fce633cb5..a970ff09d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_range_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"axis_name": "GsaCreateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -102,7 +102,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
axis_name: "GsaCreateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -117,7 +117,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
axis_name: GsaCreateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -129,7 +129,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_record_link_group.py
index e7255108a..3c6fb59de 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_record_link_group.py
@@ -65,14 +65,14 @@ class GsaCreateRecordLinkGroup(ModelBase):
swagger_types: dict[str, str] = {
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
}
attribute_map: dict[str, str] = {
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -93,7 +93,7 @@ def __init__(
*,
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaCreateRecordLinkGroup - a model defined in Swagger
@@ -102,47 +102,47 @@ def __init__(
----------
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._name: str
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaCreateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaCreateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ The type_ of this GsaCreateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaCreateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaCreateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaCreateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaCreateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_short_text_attribute.py
index cfd6b3aff..b1008f5b3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_short_text_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"data_rule": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -80,7 +80,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"data_rule": "dataRule",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -101,7 +101,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
data_rule: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -128,7 +128,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_smart_record_link_group.py
index 180d380c2..e96b3f0fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_smart_record_link_group.py
@@ -72,7 +72,7 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateSmartLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"forbid_orphans": "bool",
"guid": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
@@ -83,7 +83,7 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
"referential_integrity_model": "referentialIntegrityModel",
@@ -104,7 +104,7 @@ def __init__(
link_target: "GsaCreateSmartLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset,
@@ -117,12 +117,12 @@ def __init__(
link_target: GsaCreateSmartLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
forbid_orphans: bool, optional
guid: str, optional
referential_integrity_model: GsaReferentialIntegrityModel, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateSmartLinkTarget
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_static_record_link_group.py
index 564fddc76..ec4f9e06c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_static_record_link_group.py
@@ -71,7 +71,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "GsaCreateStaticLinkTarget",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
}
@@ -80,7 +80,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup):
"link_target": "linkTarget",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
}
@@ -97,7 +97,7 @@ def __init__(
link_target: "GsaCreateStaticLinkTarget",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
) -> None:
@@ -108,11 +108,11 @@ def __init__(
link_target: GsaCreateStaticLinkTarget
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
"""
- super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid)
+ super().__init__(name=name, reverse_name=reverse_name, type_=type_, guid=guid)
self._link_target: GsaCreateStaticLinkTarget
self._include_indirect_links: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_tabular_attribute.py
index 22d3d9450..b04bef6d8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_create_tabular_attribute.py
@@ -67,7 +67,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"default_threshold_type": "GsaAttributeThresholdType",
"display_full_table": "bool",
"display_names": "dict(str, str)",
@@ -83,7 +83,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"default_threshold_type": "defaultThresholdType",
"display_full_table": "displayFullTable",
"display_names": "displayNames",
@@ -108,7 +108,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_full_table: "bool | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
default_threshold_type: GsaAttributeThresholdType, optional
display_full_table: bool, optional
display_names: dict[str, str] | None, optional
@@ -141,7 +141,7 @@ def __init__(
"""
super().__init__(
name=name,
- type=type,
+ type_=type_,
default_threshold_type=default_threshold_type,
display_names=display_names,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_criterion.py
index c3873fab5..0043c8842 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_criterion.py
@@ -63,11 +63,11 @@ class GsaCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -95,45 +95,45 @@ class GsaCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaCriterionType",
+ type_: "GsaCriterionType",
) -> None:
"""GsaCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
"""
- self._type: GsaCriterionType
+ self._type_: GsaCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaCriterionType":
- """Gets the type of this GsaCriterion.
+ def type_(self) -> "GsaCriterionType":
+ """Gets the type_ of this GsaCriterion.
Returns
-------
GsaCriterionType
- The type of this GsaCriterion.
+ The type_ of this GsaCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaCriterionType") -> None:
- """Sets the type of this GsaCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaCriterionType") -> None:
+ """Sets the type_ of this GsaCriterion.
Parameters
----------
- type: GsaCriterionType
- The type of this GsaCriterion.
+ type_: GsaCriterionType
+ The type_ of this GsaCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link.py
index 42f7b2770..5b243f94d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link.py
@@ -72,7 +72,7 @@ class GsaCrossDatabaseLink(GsaLink):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaCrossDatabaseLink(GsaLink):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -100,7 +100,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.CROSSDATABASELINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.CROSSDATABASELINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaCrossDatabaseLink - a model defined in Swagger
@@ -113,7 +113,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -122,7 +122,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._include_indirect_links: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link_create_put_layout_item.py
index 84c2e4ec3..c21ca504d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_link_create_put_layout_item.py
@@ -73,7 +73,7 @@ class GsaCrossDatabaseLinkCreatePutLayoutItem(GsaCreatePutLayoutItem):
"link_group_guid": "str",
"source_database_guid": "str",
"source_table_guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
@@ -81,7 +81,7 @@ class GsaCrossDatabaseLinkCreatePutLayoutItem(GsaCreatePutLayoutItem):
"link_group_guid": "linkGroupGuid",
"source_database_guid": "sourceDatabaseGuid",
"source_table_guid": "sourceTableGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -95,7 +95,7 @@ def __init__(
link_group_guid: "str",
source_database_guid: "str",
source_table_guid: "str",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
) -> None:
"""GsaCrossDatabaseLinkCreatePutLayoutItem - a model defined in Swagger
@@ -105,9 +105,9 @@ def __init__(
link_group_guid: str
source_database_guid: str
source_table_guid: str
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(item_type=item_type, type=type)
+ super().__init__(item_type=item_type, type_=type_)
self._source_database_guid: str
self._source_table_guid: str
self._link_group_guid: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_record_link_group.py
index ba86586e1..9b24c489c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_cross_database_record_link_group.py
@@ -74,7 +74,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_count_rollup_datum.py
index b8877d809..9c6cff493 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_count_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_count_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"count": "int",
@@ -78,7 +78,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"count": "count",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "countRollup",
+ type_: "str | None" = "countRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
count: "int | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
count: int, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_numeric_rollup_datum.py
index b6046f7e4..6a60debd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_numeric_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_numeric_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "statisticalRollup",
+ type_: "str | None" = "statisticalRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_rollup_datum.py
index 804cf4971..53fc82cb9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_rollup_datum.py
@@ -65,7 +65,7 @@ class GsaDataExportRollupDatum(ModelBase):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -75,7 +75,7 @@ class GsaDataExportRollupDatum(ModelBase):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -100,7 +100,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None",
+ type_: "str | None",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -124,7 +124,7 @@ def __init__(
self._roll_up_type: GsaTabularColumnRollUpType | Unset_Type = Unset
self._path_attribute_guids: list[str]
self._path_attribute_identities: list[int]
- self._type: str | None
+ self._type_: str | None
if database_key is not Unset:
self.database_key = database_key
@@ -136,7 +136,7 @@ def __init__(
self.roll_up_type = roll_up_type
self.path_attribute_guids = path_attribute_guids
self.path_attribute_identities = path_attribute_identities
- self.type = type
+ self.type_ = type_
@property
def database_key(self) -> "str | None | Unset_Type":
@@ -296,29 +296,29 @@ def path_attribute_identities(self, path_attribute_identities: "list[int]") -> N
self._path_attribute_identities = path_attribute_identities
@property
- def type(self) -> "str | None":
- """Gets the type of this GsaDataExportRollupDatum.
+ def type_(self) -> "str | None":
+ """Gets the type_ of this GsaDataExportRollupDatum.
Returns
-------
str | None
- The type of this GsaDataExportRollupDatum.
+ The type_ of this GsaDataExportRollupDatum.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None") -> None:
- """Sets the type of this GsaDataExportRollupDatum.
+ @type_.setter
+ def type_(self, type_: "str | None") -> None:
+ """Sets the type_ of this GsaDataExportRollupDatum.
Parameters
----------
- type: str | None
- The type of this GsaDataExportRollupDatum.
+ type_: str | None
+ The type_ of this GsaDataExportRollupDatum.
"""
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_value_rollup_datum.py
index 9091adfb4..2d274ce4c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_value_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_value_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -78,7 +78,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -95,7 +95,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valueRollup",
+ type_: "str | None" = "valueRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -108,7 +108,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -118,7 +118,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_values_rollup_datum.py
index 1889ad2ad..57617a8ca 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_values_rollup_datum.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_export_values_rollup_datum.py
@@ -67,7 +67,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
swagger_types: dict[str, str] = {
"path_attribute_guids": "list[str]",
"path_attribute_identities": "list[int]",
- "type": "str",
+ "type_": "str",
"attribute_guid": "str",
"attribute_identity": "int",
"database_key": "str",
@@ -79,7 +79,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum):
attribute_map: dict[str, str] = {
"path_attribute_guids": "pathAttributeGuids",
"path_attribute_identities": "pathAttributeIdentities",
- "type": "type",
+ "type_": "type",
"attribute_guid": "attributeGuid",
"attribute_identity": "attributeIdentity",
"database_key": "databaseKey",
@@ -97,7 +97,7 @@ def __init__(
*,
path_attribute_guids: "list[str]",
path_attribute_identities: "list[int]",
- type: "str | None" = "valuesRollup",
+ type_: "str | None" = "valuesRollup",
attribute_guid: "str | None | Unset_Type" = Unset,
attribute_identity: "int | None | Unset_Type" = Unset,
database_key: "str | None | Unset_Type" = Unset,
@@ -111,7 +111,7 @@ def __init__(
----------
path_attribute_guids: list[str]
path_attribute_identities: list[int]
- type: str | None
+ type_: str | None
attribute_guid: str | None, optional
attribute_identity: int | None, optional
database_key: str | None, optional
@@ -122,7 +122,7 @@ def __init__(
super().__init__(
path_attribute_guids=path_attribute_guids,
path_attribute_identities=path_attribute_identities,
- type=type,
+ type_=type_,
attribute_guid=attribute_guid,
attribute_identity=attribute_identity,
database_key=database_key,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_updater_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_updater_job.py
index 66d4b9057..9dc0f42a4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_updater_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_data_updater_job.py
@@ -62,7 +62,7 @@ class GsaDataUpdaterJob(ModelBase):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "id": "str",
+ "id_": "str",
"job_type": "GsaDataUpdaterJobType",
"status": "GsaDataUpdaterJobStatus",
"time_started": "datetime",
@@ -76,7 +76,7 @@ class GsaDataUpdaterJob(ModelBase):
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "id": "id",
+ "id_": "id",
"job_type": "jobType",
"status": "status",
"time_started": "timeStarted",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
database_key: "str",
- id: "str",
+ id_: "str",
job_type: "GsaDataUpdaterJobType",
status: "GsaDataUpdaterJobStatus",
time_started: "datetime",
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
database_key: str
- id: str
+ id_: str
job_type: GsaDataUpdaterJobType
status: GsaDataUpdaterJobStatus
time_started: datetime
@@ -127,7 +127,7 @@ def __init__(
time_completed: datetime | None, optional
update_token: GsaDataUpdateToken, optional
"""
- self._id: str
+ self._id_: str
self._update_token: GsaDataUpdateToken | Unset_Type = Unset
self._job_type: GsaDataUpdaterJobType
self._database_key: str
@@ -139,7 +139,7 @@ def __init__(
self._time_completed: datetime | None | Unset_Type = Unset
self._error: str | None | Unset_Type = Unset
- self.id = id
+ self.id_ = id_
if update_token is not Unset:
self.update_token = update_token
self.job_type = job_type
@@ -158,34 +158,34 @@ def __init__(
self.error = error
@property
- def id(self) -> "str":
- """Gets the id of this GsaDataUpdaterJob.
+ def id_(self) -> "str":
+ """Gets the id_ of this GsaDataUpdaterJob.
Gets or sets the token which identifies this job.
Returns
-------
str
- The id of this GsaDataUpdaterJob.
+ The id_ of this GsaDataUpdaterJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str") -> None:
- """Sets the id of this GsaDataUpdaterJob.
+ @id_.setter
+ def id_(self, id_: "str") -> None:
+ """Sets the id_ of this GsaDataUpdaterJob.
Gets or sets the token which identifies this job.
Parameters
----------
- id: str
- The id of this GsaDataUpdaterJob.
+ id_: str
+ The id_ of this GsaDataUpdaterJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
# Field is required
- if id is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'id', must not be 'Unset'")
- self._id = id
+ if id_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'id_', must not be 'Unset'")
+ self._id_ = id_
@property
def update_token(self) -> "GsaDataUpdateToken | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_aggregation_datum_criterion.py
index a85c48337..ec6892a68 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIME,
) -> None:
"""GsaDateTimeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_attribute.py
index 88b459988..248f917a4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_attribute.py
@@ -72,7 +72,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaDateTimeAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_criterion.py
index 96d8af626..087779e87 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "datetime",
"lte": "datetime",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DATETIME,
gte: "datetime | None | Unset_Type" = Unset,
lte: "datetime | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: datetime | None, optional
lte: datetime | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: datetime | None | Unset_Type = Unset
self._lte: datetime | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_exists_criterion.py
index 503da8e6a..79778ff83 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
) -> None:
"""GsaDateTimeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
index 19850a5fa..f23e9a508 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion(GsaAggrega
"""
swagger_types: dict[str, str] = {
"interval": "GsaCalendarInterval",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
interval: "GsaCalendarInterval",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDCALENDARWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
interval: GsaCalendarInterval
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: GsaCalendarInterval
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
index 06e0d1485..469501b28 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py
@@ -69,13 +69,13 @@ class GsaDateTimeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatu
"""
swagger_types: dict[str, str] = {
"interval": "str",
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"offset": "str",
}
attribute_map: dict[str, str] = {
"interval": "interval",
- "type": "type",
+ "type_": "type",
"offset": "offset",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
interval: "str",
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEFIXEDWIDTHHISTOGRAM,
offset: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeFixedWidthHistogramAggregationDatumCriterion - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
interval: str
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
offset: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: str
self._offset: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
index 1216bfa6b..e9c85bf80 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_date_time_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DATETIMEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaDateTimeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_criterion.py
index ea81376e0..79a24ed1d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -111,45 +111,45 @@ class GsaDatumCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumCriterionType",
+ type_: "GsaDatumCriterionType",
) -> None:
"""GsaDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- self._type: GsaDatumCriterionType
+ self._type_: GsaDatumCriterionType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumCriterionType":
- """Gets the type of this GsaDatumCriterion.
+ def type_(self) -> "GsaDatumCriterionType":
+ """Gets the type_ of this GsaDatumCriterion.
Returns
-------
GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ The type_ of this GsaDatumCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumCriterionType") -> None:
- """Sets the type of this GsaDatumCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaDatumCriterionType") -> None:
+ """Sets the type_ of this GsaDatumCriterion.
Parameters
----------
- type: GsaDatumCriterionType
- The type of this GsaDatumCriterion.
+ type_: GsaDatumCriterionType
+ The type_ of this GsaDatumCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_discrete_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_discrete_rollup.py
index 39fee75c2..1b836fbc2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_discrete_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_discrete_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "GsaDiscreteValuesDiscreteValue",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDatumDiscreteRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DISCRETE,
value: "GsaDiscreteValuesDiscreteValue",
) -> None:
"""GsaDatumDiscreteRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: GsaDiscreteValuesDiscreteValue
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: GsaDiscreteValuesDiscreteValue
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_double_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_double_rollup.py
index 3af091901..de34f7f3d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_double_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_double_rollup.py
@@ -66,13 +66,13 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "float",
"unit": "GsaSlimUnit",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"unit": "unit",
}
@@ -86,7 +86,7 @@ class GsaDatumDoubleRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.DOUBLE,
value: "float",
unit: "GsaSlimUnit | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: float
unit: GsaSlimUnit, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float
self._unit: GsaSlimUnit | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_exists_criterion.py
index 65bc11829..7d0ee97aa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_exists_criterion.py
@@ -63,11 +63,11 @@ class GsaDatumExistsCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -98,45 +98,45 @@ class GsaDatumExistsCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaDatumExistsCriterion.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaDatumExistsCriterion.
Returns
-------
GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ The type_ of this GsaDatumExistsCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaDatumExistsCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaDatumExistsCriterion.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaDatumExistsCriterion.
+ type_: GsaAttributeType
+ The type_ of this GsaDatumExistsCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_export_failure.py
index 93cc20055..04e2c1ee3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_export_failure.py
@@ -71,14 +71,14 @@ class GsaDatumExportFailure(GsaExportFailure):
"failed_datum": "GsaDatumReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_datum": "failedDatum",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_datum: "GsaDatumReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.DATUM,
+ type_: "GsaExportFailureType" = GsaExportFailureType.DATUM,
) -> None:
"""GsaDatumExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_datum: GsaDatumReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_datum: GsaDatumReference
self.failed_datum = failed_datum
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_integer_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_integer_rollup.py
index 87eeb67a8..644e5048a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_integer_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_integer_rollup.py
@@ -66,12 +66,12 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -82,17 +82,17 @@ class GsaDatumIntegerRollup(GsaDatumRollup):
def __init__(
self,
*,
- type: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.INTEGER,
value: "int",
) -> None:
"""GsaDatumIntegerRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_list_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_list_rollup.py
index 8c0a64735..4fde30e62 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_list_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_list_rollup.py
@@ -67,12 +67,12 @@ class GsaDatumListRollup(GsaDatumRollup):
"""
swagger_types: dict[str, str] = {
"list_rollup_datums": "list[GsaListRollupDatum]",
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
"list_rollup_datums": "listRollupDatums",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,16 +85,16 @@ def __init__(
self,
*,
list_rollup_datums: "list[GsaListRollupDatum]",
- type: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
+ type_: "GsaDatumRollupType" = GsaDatumRollupType.LIST,
) -> None:
"""GsaDatumListRollup - a model defined in Swagger
Parameters
----------
list_rollup_datums: list[GsaListRollupDatum]
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._list_rollup_datums: list[GsaListRollupDatum]
self.list_rollup_datums = list_rollup_datums
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_rollup.py
index bf3524ab0..3d1754439 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_rollup.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_datum_rollup.py
@@ -63,11 +63,11 @@ class GsaDatumRollup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumRollupType",
+ "type_": "GsaDatumRollupType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,45 +86,45 @@ class GsaDatumRollup(ModelBase):
def __init__(
self,
*,
- type: "GsaDatumRollupType",
+ type_: "GsaDatumRollupType",
) -> None:
"""GsaDatumRollup - a model defined in Swagger
Parameters
----------
- type: GsaDatumRollupType
+ type_: GsaDatumRollupType
"""
- self._type: GsaDatumRollupType
+ self._type_: GsaDatumRollupType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaDatumRollupType":
- """Gets the type of this GsaDatumRollup.
+ def type_(self) -> "GsaDatumRollupType":
+ """Gets the type_ of this GsaDatumRollup.
Returns
-------
GsaDatumRollupType
- The type of this GsaDatumRollup.
+ The type_ of this GsaDatumRollup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaDatumRollupType") -> None:
- """Sets the type of this GsaDatumRollup.
+ @type_.setter
+ def type_(self, type_: "GsaDatumRollupType") -> None:
+ """Sets the type_ of this GsaDatumRollup.
Parameters
----------
- type: GsaDatumRollupType
- The type of this GsaDatumRollup.
+ type_: GsaDatumRollupType
+ The type_ of this GsaDatumRollup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_attribute.py
index 0153cc29d..dafe8365c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_attribute.py
@@ -74,7 +74,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -91,7 +91,7 @@ class GsaDiscreteAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -116,7 +116,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -135,7 +135,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -149,7 +149,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_chart_data.py
index a3745f3f6..a528ef166 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_chart_data.py
@@ -66,7 +66,7 @@ class GsaDiscreteChartData(GsaChartData):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"name": "str",
"order": "int",
@@ -74,7 +74,7 @@ class GsaDiscreteChartData(GsaChartData):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"name": "name",
"order": "order",
@@ -88,7 +88,7 @@ class GsaDiscreteChartData(GsaChartData):
def __init__(
self,
*,
- type: "GsaChartDataType" = GsaChartDataType.DISCRETE,
+ type_: "GsaChartDataType" = GsaChartDataType.DISCRETE,
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
order: "int | Unset_Type" = Unset,
@@ -98,14 +98,16 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
name: str | None, optional
order: int, optional
record_version_guid: str, optional
"""
super().__init__(
- type=type, bubble_axis_value=bubble_axis_value, record_version_guid=record_version_guid
+ type_=type_,
+ bubble_axis_value=bubble_axis_value,
+ record_version_guid=record_version_guid,
)
self._order: int | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_datum_exists_criterion.py
index ab5d2b5dc..85c0c0ac6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
) -> None:
"""GsaDiscreteDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute.py
index bf7906702..8ecef801e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute.py
@@ -74,7 +74,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -91,7 +91,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -117,7 +117,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -136,7 +136,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -150,7 +150,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
index 878a59b4b..31c809cea 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeDiscreteParameter(GsaDiscreteFunctionalAttri
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
index b3f5015fa..1499b62d3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_numeric_parameter.py
@@ -67,13 +67,13 @@ class GsaDiscreteFunctionalAttributeNumericParameter(GsaDiscreteFunctionalAttrib
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_parameter.py
index f9b4b759a..b1dbdb9c5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_datum_exists_criterion.py
index 16bb1855c..b30c52e6b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
) -> None:
"""GsaDiscreteFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_range_datum_criterion.py
index 5a57d7a50..8741fc3dc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_range_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_values_datum_criterion.py
index c18792797..6333eb4e5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_functional_values_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"any_guids": "list[str]",
"any_identities": "list[int]",
"constraints": "list[GsaParameterConstraint]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"any_guids": "anyGuids",
"any_identities": "anyIdentities",
"constraints": "constraints",
@@ -90,7 +90,7 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES,
any_guids: "list[str] | None | Unset_Type" = Unset,
any_identities: "list[int] | None | Unset_Type" = Unset,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
any_guids: list[str] | None, optional
any_identities: list[int] | None, optional
constraints: list[GsaParameterConstraint] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._any_identities: list[int] | None | Unset_Type = Unset
self._any_guids: list[str] | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_datum_criterion.py
index e43e991bb..705090a29 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUID,
value: "str",
) -> None:
"""GsaDiscreteGuidDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_values_datum_criterion.py
index 05286281c..2a48fbea0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_guid_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteGuidValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteGuidValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteGuidValuesDatumCriterion.
Match all of these discrete value GUIDs
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteGuidValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteGuidValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteGuidValuesDatumCriterion.
Match any of these discrete type GUIDs
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteGuidValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteGuidValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteGuidValuesDatumCriterion.
Match none of the discrete type GUIDs
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteGuidValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteGuidValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_datum_criterion.py
index 64cc3c1ee..cd04323ff 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITY,
value: "int",
) -> None:
"""GsaDiscreteIdentityDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: int
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_values_datum_criterion.py
index d54d9e4ab..93bbdf3d2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_identity_values_datum_criterion.py
@@ -68,17 +68,17 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[int]",
- "all": "list[int]",
- "any": "list[int]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[int]",
+ "any_": "list[int]",
+ "none_": "list[int]",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -88,103 +88,103 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
- _none: "list[int] | None | Unset_Type" = Unset,
- all: "list[int] | None | Unset_Type" = Unset,
- any: "list[int] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES,
+ all_: "list[int] | None | Unset_Type" = Unset,
+ any_: "list[int] | None | Unset_Type" = Unset,
+ none_: "list[int] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteIdentityValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[int] | None, optional
- all: list[int] | None, optional
- any: list[int] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[int] | None, optional
+ any_: list[int] | None, optional
+ none_: list[int] | None, optional
"""
- super().__init__(type=type)
- self._all: list[int] | None | Unset_Type = Unset
- self._any: list[int] | None | Unset_Type = Unset
- self.__none: list[int] | None | Unset_Type = Unset
-
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ super().__init__(type_=type_)
+ self._all_: list[int] | None | Unset_Type = Unset
+ self._any_: list[int] | None | Unset_Type = Unset
+ self._none_: list[int] | None | Unset_Type = Unset
+
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def all(self) -> "list[int] | None | Unset_Type":
- """Gets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ def all_(self) -> "list[int] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Returns
-------
list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[int] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteIdentityValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[int] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match all of these discrete value identities
Parameters
----------
- all: list[int] | None | Unset_Type
- The all of this GsaDiscreteIdentityValuesDatumCriterion.
+ all_: list[int] | None | Unset_Type
+ The all_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[int] | None | Unset_Type":
- """Gets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ def any_(self) -> "list[int] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[int] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteIdentityValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[int] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match any of these discrete type identities
Parameters
----------
- any: list[int] | None | Unset_Type
- The any of this GsaDiscreteIdentityValuesDatumCriterion.
+ any_: list[int] | None | Unset_Type
+ The any_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[int] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ def none_(self) -> "list[int] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Returns
-------
list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[int] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[int] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteIdentityValuesDatumCriterion.
Match none of the discrete type identities
Parameters
----------
- _none: list[int] | None | Unset_Type
- The _none of this GsaDiscreteIdentityValuesDatumCriterion.
+ none_: list[int] | None | Unset_Type
+ The none_ of this GsaDiscreteIdentityValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter.py
index 3216e53f6..d12cf022f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter.py
@@ -68,7 +68,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaDiscreteParameterValue]",
}
@@ -77,7 +77,7 @@ class GsaDiscreteParameter(GsaParameter):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"values": "values",
}
@@ -94,7 +94,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
values: "list[GsaDiscreteParameterValue]",
) -> None:
"""GsaDiscreteParameter - a model defined in Swagger
@@ -105,7 +105,7 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaDiscreteParameterValue]
"""
super().__init__(
@@ -113,7 +113,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
)
self._values: list[GsaDiscreteParameterValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_content.py
index 6be41fd20..86c9f17c4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaDiscreteParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaDiscreteRange",
"parameter_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaDiscreteRange, optional
parameter_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimNamedEntity | Unset_Type = Unset
self._parameter_range: GsaDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_name_constraint.py
index 3816ad1b3..6b859bd7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_name_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_name_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterNameConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[str]",
- "any": "list[str]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[str]",
+ "none_": "list[str]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
- _none: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterNameConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterNameConstraint.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterNameConstraint.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteParameterNameConstraint.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterNameConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterNameConstraint.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterNameConstraint.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterNameConstraint.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterNameConstraint.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteParameterNameConstraint.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterNameConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value.py
index 45ef881dc..66ab70a46 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value.py
@@ -70,14 +70,14 @@ class GsaDiscreteParameterValue(GsaParameterValue):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"parameter_guid": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"parameter_guid": "parameterGuid",
}
@@ -90,7 +90,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
parameter_guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterValue - a model defined in Swagger
@@ -99,10 +99,10 @@ def __init__(
----------
guid: str
name: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
parameter_guid: str, optional
"""
- super().__init__(guid=guid, type=type, parameter_guid=parameter_guid)
+ super().__init__(guid=guid, type_=type_, parameter_guid=parameter_guid)
self._name: str
self.name = name
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value_constraint.py
index d1055c5e3..6c79f2554 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_parameter_value_constraint.py
@@ -69,16 +69,16 @@ class GsaDiscreteParameterValueConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
- "_none": "list[float]",
- "any": "list[float]",
+ "type_": "GsaParameterConstraintType",
+ "any_": "list[float]",
+ "none_": "list[float]",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
- "_none": "none",
- "any": "any",
+ "type_": "type",
+ "any_": "any",
+ "none_": "none",
}
subtype_mapping: dict[str, str] = {}
@@ -89,71 +89,71 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
- _none: "list[float] | None | Unset_Type" = Unset,
- any: "list[float] | None | Unset_Type" = Unset,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE,
+ any_: "list[float] | None | Unset_Type" = Unset,
+ none_: "list[float] | None | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteParameterValueConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
- _none: list[float] | None, optional
- any: list[float] | None, optional
+ type_: GsaParameterConstraintType
+ any_: list[float] | None, optional
+ none_: list[float] | None, optional
"""
- super().__init__(parameter=parameter, type=type)
- self._any: list[float] | None | Unset_Type = Unset
- self.__none: list[float] | None | Unset_Type = Unset
+ super().__init__(parameter=parameter, type_=type_)
+ self._any_: list[float] | None | Unset_Type = Unset
+ self._none_: list[float] | None | Unset_Type = Unset
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
@property
- def any(self) -> "list[float] | None | Unset_Type":
- """Gets the any of this GsaDiscreteParameterValueConstraint.
+ def any_(self) -> "list[float] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[float] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteParameterValueConstraint.
+ @any_.setter
+ def any_(self, any_: "list[float] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- any: list[float] | None | Unset_Type
- The any of this GsaDiscreteParameterValueConstraint.
+ any_: list[float] | None | Unset_Type
+ The any_ of this GsaDiscreteParameterValueConstraint.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[float] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteParameterValueConstraint.
+ def none_(self) -> "list[float] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteParameterValueConstraint.
Returns
-------
list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[float] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteParameterValueConstraint.
+ @none_.setter
+ def none_(self, none_: "list[float] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteParameterValueConstraint.
Parameters
----------
- _none: list[float] | None | Unset_Type
- The _none of this GsaDiscreteParameterValueConstraint.
+ none_: list[float] | None | Unset_Type
+ The none_ of this GsaDiscreteParameterValueConstraint.
"""
- self.__none = _none
+ self._none_ = none_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_quality_system.py
index 4228d279f..1a07325cd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_quality_system.py
@@ -72,7 +72,7 @@ class GsaDiscreteQualitySystem(GsaQualitySystem):
"name": "str",
"quality_discrete_values": "list[GsaQualityDiscreteValue]",
"threshold_value": "GsaQualityDiscreteValue",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
}
attribute_map: dict[str, str] = {
@@ -80,7 +80,7 @@ class GsaDiscreteQualitySystem(GsaQualitySystem):
"name": "name",
"quality_discrete_values": "qualityDiscreteValues",
"threshold_value": "thresholdValue",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -97,7 +97,7 @@ def __init__(
name: "str",
quality_discrete_values: "list[GsaQualityDiscreteValue]",
threshold_value: "GsaQualityDiscreteValue",
- type: "GsaQualitySystemType" = GsaQualitySystemType.DISCRETE,
+ type_: "GsaQualitySystemType" = GsaQualitySystemType.DISCRETE,
) -> None:
"""GsaDiscreteQualitySystem - a model defined in Swagger
@@ -107,9 +107,9 @@ def __init__(
name: str
quality_discrete_values: list[GsaQualityDiscreteValue]
threshold_value: GsaQualityDiscreteValue
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
"""
- super().__init__(guid=guid, name=name, type=type)
+ super().__init__(guid=guid, name=name, type_=type_)
self._threshold_value: GsaQualityDiscreteValue
self._quality_discrete_values: list[GsaQualityDiscreteValue]
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_range_datum_criterion.py
index 08777f6e9..8a8966d33 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETERANGE,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_aggregation_datum_criterion.py
index b1522ecf6..e6dc70db3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.DISCRETETEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_datum_criterion.py
index 2dd9cbce3..86104c59f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_prefix_datum_criterion.py
index dad8f2ca6..7b8539c4f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaDiscreteTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTPREFIX,
) -> None:
"""GsaDiscreteTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_values_datum_criterion.py
index c87bca1eb..c13467d88 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_values_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_discrete_text_values_datum_criterion.py
@@ -68,18 +68,18 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
- "_none": "list[str]",
- "all": "list[str]",
- "any": "list[str]",
+ "type_": "GsaDatumCriterionType",
+ "all_": "list[str]",
+ "any_": "list[str]",
+ "none_": "list[str]",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_none": "none",
- "all": "all",
- "any": "any",
+ "type_": "type",
+ "all_": "all",
+ "any_": "any",
+ "none_": "none",
"text_match_behavior": "textMatchBehavior",
}
@@ -92,102 +92,102 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
- _none: "list[str] | None | Unset_Type" = Unset,
- all: "list[str] | None | Unset_Type" = Unset,
- any: "list[str] | None | Unset_Type" = Unset,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES,
+ all_: "list[str] | None | Unset_Type" = Unset,
+ any_: "list[str] | None | Unset_Type" = Unset,
+ none_: "list[str] | None | Unset_Type" = Unset,
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
"""GsaDiscreteTextValuesDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
- _none: list[str] | None, optional
- all: list[str] | None, optional
- any: list[str] | None, optional
+ type_: GsaDatumCriterionType
+ all_: list[str] | None, optional
+ any_: list[str] | None, optional
+ none_: list[str] | None, optional
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
- self._all: list[str] | None | Unset_Type = Unset
- self._any: list[str] | None | Unset_Type = Unset
- self.__none: list[str] | None | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._all_: list[str] | None | Unset_Type = Unset
+ self._any_: list[str] | None | Unset_Type = Unset
+ self._none_: list[str] | None | Unset_Type = Unset
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
- if all is not Unset:
- self.all = all
- if any is not Unset:
- self.any = any
- if _none is not Unset:
- self._none = _none
+ if all_ is not Unset:
+ self.all_ = all_
+ if any_ is not Unset:
+ self.any_ = any_
+ if none_ is not Unset:
+ self.none_ = none_
if text_match_behavior is not Unset:
self.text_match_behavior = text_match_behavior
@property
- def all(self) -> "list[str] | None | Unset_Type":
- """Gets the all of this GsaDiscreteTextValuesDatumCriterion.
+ def all_(self) -> "list[str] | None | Unset_Type":
+ """Gets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._all
+ return self._all_
- @all.setter
- def all(self, all: "list[str] | None | Unset_Type") -> None:
- """Sets the all of this GsaDiscreteTextValuesDatumCriterion.
+ @all_.setter
+ def all_(self, all_: "list[str] | None | Unset_Type") -> None:
+ """Sets the all_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- all: list[str] | None | Unset_Type
- The all of this GsaDiscreteTextValuesDatumCriterion.
+ all_: list[str] | None | Unset_Type
+ The all_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._all = all
+ self._all_ = all_
@property
- def any(self) -> "list[str] | None | Unset_Type":
- """Gets the any of this GsaDiscreteTextValuesDatumCriterion.
+ def any_(self) -> "list[str] | None | Unset_Type":
+ """Gets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self._any
+ return self._any_
- @any.setter
- def any(self, any: "list[str] | None | Unset_Type") -> None:
- """Sets the any of this GsaDiscreteTextValuesDatumCriterion.
+ @any_.setter
+ def any_(self, any_: "list[str] | None | Unset_Type") -> None:
+ """Sets the any_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- any: list[str] | None | Unset_Type
- The any of this GsaDiscreteTextValuesDatumCriterion.
+ any_: list[str] | None | Unset_Type
+ The any_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self._any = any
+ self._any_ = any_
@property
- def _none(self) -> "list[str] | None | Unset_Type":
- """Gets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ def none_(self) -> "list[str] | None | Unset_Type":
+ """Gets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Returns
-------
list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- return self.__none
+ return self._none_
- @_none.setter
- def _none(self, _none: "list[str] | None | Unset_Type") -> None:
- """Sets the _none of this GsaDiscreteTextValuesDatumCriterion.
+ @none_.setter
+ def none_(self, none_: "list[str] | None | Unset_Type") -> None:
+ """Sets the none_ of this GsaDiscreteTextValuesDatumCriterion.
Parameters
----------
- _none: list[str] | None | Unset_Type
- The _none of this GsaDiscreteTextValuesDatumCriterion.
+ none_: list[str] | None | Unset_Type
+ The none_ of this GsaDiscreteTextValuesDatumCriterion.
"""
- self.__none = _none
+ self._none_ = none_
@property
def text_match_behavior(self) -> "GsaTextMatchBehavior | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_double_sorting_value.py
index 0572f4588..7597bf7ad 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_double_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_double_sorting_value.py
@@ -68,12 +68,12 @@ class GsaDoubleSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaDoubleSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
+ type_: "GsaSortingValueType" = GsaSortingValueType.DOUBLE,
value: "float | Unset_Type" = Unset,
) -> None:
"""GsaDoubleSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: float | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_export_failure.py
index 14790cc55..4a0b0f92b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_export_failure.py
@@ -65,13 +65,13 @@ class GsaExportFailure(ModelBase):
swagger_types: dict[str, str] = {
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
*,
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType",
+ type_: "GsaExportFailureType",
) -> None:
"""GsaExportFailure - a model defined in Swagger
@@ -101,43 +101,43 @@ def __init__(
----------
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- self._type: GsaExportFailureType
+ self._type_: GsaExportFailureType
self._failure_details: str
self._failure_reason: str
- self.type = type
+ self.type_ = type_
self.failure_details = failure_details
self.failure_reason = failure_reason
@property
- def type(self) -> "GsaExportFailureType":
- """Gets the type of this GsaExportFailure.
+ def type_(self) -> "GsaExportFailureType":
+ """Gets the type_ of this GsaExportFailure.
Returns
-------
GsaExportFailureType
- The type of this GsaExportFailure.
+ The type_ of this GsaExportFailure.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaExportFailureType") -> None:
- """Sets the type of this GsaExportFailure.
+ @type_.setter
+ def type_(self, type_: "GsaExportFailureType") -> None:
+ """Sets the type_ of this GsaExportFailure.
Parameters
----------
- type: GsaExportFailureType
- The type of this GsaExportFailure.
+ type_: GsaExportFailureType
+ The type_ of this GsaExportFailure.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def failure_details(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_attribute.py
index b0edff80f..9aa261fe7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_attribute.py
@@ -72,7 +72,7 @@ class GsaFileAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaFileAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_criterion.py
index aca9c075f..59fdbe791 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaFileDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILE,
value: "str",
) -> None:
"""GsaFileDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_exists_criterion.py
index f4ae6c270..01ad0c45a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
) -> None:
"""GsaFileDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_prefix_datum_criterion.py
index 1f4aef740..7cd64275e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_file_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaFilePrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FILEPREFIX,
) -> None:
"""GsaFilePrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_aggregation_datum_criterion.py
index 55418999a..06a1c06e2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_parameter_values": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_parameter_values": "numberOfParameterValues",
}
@@ -84,17 +84,17 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.FLOATFUNCTIONALGRAPH,
number_of_parameter_values: "int | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_parameter_values: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_parameter_values: int | Unset_Type = Unset
if number_of_parameter_values is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute.py
index ad5991fa7..05ea659aa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute.py
@@ -74,7 +74,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -92,7 +92,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -119,7 +119,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -139,7 +139,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -154,7 +154,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_discrete_parameter.py
index 5bcdccbcd..a22f77e86 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_discrete_parameter.py
@@ -67,13 +67,13 @@ class GsaFloatFunctionalAttributeDiscreteParameter(GsaFloatFunctionalAttributePa
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimNamedEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimNamedEntity | Unset_Type" = Unset,
) -> None:
"""GsaFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimNamedEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: GsaSlimNamedEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_numeric_parameter.py
index 3afaeb047..ed0097559 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_parameter.py
index 82d17576d..ac6117351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_criterion.py
index 4d5dbf3a1..61d9ec852 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_exists_criterion.py
index 8855411cb..a83773390 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
) -> None:
"""GsaFloatFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_graph_datum_criterion.py
index 11e1a14e2..861c8accc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_graph_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_float_functional_graph_datum_criterion.py
@@ -68,7 +68,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"default_x_axis_parameter_guid": "str",
"default_x_axis_parameter_identity": "int",
"is_series_graph": "bool",
@@ -82,7 +82,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_x_axis_parameter_guid": "defaultXAxisParameterGuid",
"default_x_axis_parameter_identity": "defaultXAxisParameterIdentity",
"is_series_graph": "isSeriesGraph",
@@ -102,7 +102,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALGRAPH,
default_x_axis_parameter_guid: "str | None | Unset_Type" = Unset,
default_x_axis_parameter_identity: "int | None | Unset_Type" = Unset,
is_series_graph: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
default_x_axis_parameter_guid: str | None, optional
default_x_axis_parameter_identity: int | None, optional
is_series_graph: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
x_axis_parameter_guid: str | None, optional
x_axis_parameter_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._x_axis_parameter_identity: int | None | Unset_Type = Unset
self._x_axis_parameter_guid: str | None | Unset_Type = Unset
self._number_of_series_lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation.py
index 0e9511f4a..18b2c640f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation.py
@@ -66,13 +66,13 @@ class GsaFreeTextAggregation(GsaAggregation):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"guid": "str",
"terms": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"terms": "terms",
}
@@ -84,7 +84,7 @@ class GsaFreeTextAggregation(GsaAggregation):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
guid: "str | Unset_Type" = Unset,
terms: "list[str] | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
guid: str, optional
terms: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str | Unset_Type = Unset
self._terms: list[str] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation_criterion.py
index 55402cc5b..2d672cafa 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_aggregation_criterion.py
@@ -66,7 +66,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationType",
+ "type_": "GsaAggregationType",
"attributes": "GsaValueSpecifier",
"criterion_guid": "str",
"local_columns": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attributes": "attributes",
"criterion_guid": "criterionGuid",
"local_columns": "localColumns",
@@ -93,7 +93,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion):
def __init__(
self,
*,
- type: "GsaAggregationType" = GsaAggregationType.TEXT,
+ type_: "GsaAggregationType" = GsaAggregationType.TEXT,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
criterion_guid: "str | Unset_Type" = Unset,
local_columns: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -104,14 +104,14 @@ def __init__(
Parameters
----------
- type: GsaAggregationType
+ type_: GsaAggregationType
attributes: GsaValueSpecifier, optional
criterion_guid: str, optional
local_columns: GsaValueSpecifier, optional
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._criterion_guid: str | Unset_Type = Unset
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_criterion.py
index 2042e3449..a75f2db8f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_criterion.py
@@ -64,7 +64,7 @@ class GsaFreeTextCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -75,7 +75,7 @@ class GsaFreeTextCriterion(GsaCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -99,7 +99,7 @@ class GsaFreeTextCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TEXT,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXT,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
local_columns: GsaValueSpecifier, optional
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_prefix_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_prefix_criterion.py
index a7e4d3ad3..417c8fbb0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_prefix_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_free_text_prefix_criterion.py
@@ -65,7 +65,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"attribute_guids_to_boost": "list[GsaBoostByGuid]",
"attribute_identities_to_boost": "list[GsaBoostByIdentity]",
"attributes": "GsaValueSpecifier",
@@ -76,7 +76,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
"attribute_guids_to_boost": "attributeGuidsToBoost",
"attribute_identities_to_boost": "attributeIdentitiesToBoost",
"attributes": "attributes",
@@ -100,7 +100,7 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
+ type_: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX,
attribute_guids_to_boost: "list[GsaBoostByGuid] | None | Unset_Type" = Unset,
attribute_identities_to_boost: "list[GsaBoostByIdentity] | None | Unset_Type" = Unset,
attributes: "GsaValueSpecifier | Unset_Type" = Unset,
@@ -113,7 +113,7 @@ def __init__(
Parameters
----------
prefix: str
- type: GsaCriterionType
+ type_: GsaCriterionType
attribute_guids_to_boost: list[GsaBoostByGuid] | None, optional
attribute_identities_to_boost: list[GsaBoostByIdentity] | None, optional
attributes: GsaValueSpecifier, optional
@@ -121,7 +121,7 @@ def __init__(
column_identities_to_boost: list[GsaBoostByIdentity] | None, optional
local_columns: GsaValueSpecifier, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self._attributes: GsaValueSpecifier | Unset_Type = Unset
self._local_columns: GsaValueSpecifier | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_guid_only_attribute.py
index 4321a1bfb..65ae8d927 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_guid_only_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_guid_only_attribute.py
@@ -63,7 +63,7 @@ class GsaGuidOnlyAttribute(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"graph_type": "str",
"is_unitted": "bool",
@@ -77,7 +77,7 @@ class GsaGuidOnlyAttribute(ModelBase):
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"graph_type": "graphType",
"is_unitted": "isUnitted",
@@ -102,7 +102,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
is_unitted: "bool | None | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
----------
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
graph_type: str | None, optional
is_unitted: bool | None, optional
@@ -130,7 +130,7 @@ def __init__(
"""
self._name: str
self._guid: str
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_guid: str | None | Unset_Type = Unset
@@ -142,7 +142,7 @@ def __init__(
self.name = name
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -217,32 +217,32 @@ def guid(self, guid: "str") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaGuidOnlyAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaGuidOnlyAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ The type_ of this GsaGuidOnlyAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaGuidOnlyAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaGuidOnlyAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaGuidOnlyAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaGuidOnlyAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_attribute.py
index fae40071a..5732bb00c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_attribute.py
@@ -72,7 +72,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaHyperlinkAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_criterion.py
index 6ddd0cb0e..9ea3aec5e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINK,
value: "str",
) -> None:
"""GsaHyperlinkDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_exists_criterion.py
index af38ad5d6..3f5f7a104 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
) -> None:
"""GsaHyperlinkDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_prefix_datum_criterion.py
index 5ab5e43e5..31e3cf5a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_hyperlink_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaHyperlinkPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.HYPERLINKPREFIX,
) -> None:
"""GsaHyperlinkPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_aggregation_datum_criterion.py
index dfacb509e..a954d8e17 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGER,
) -> None:
"""GsaIntegerAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_attribute.py
index d1ff41377..121674744 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_attribute.py
@@ -73,7 +73,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -89,7 +89,7 @@ class GsaIntegerAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -111,7 +111,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -129,7 +129,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -143,7 +143,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_chart_data.py
index c909ba8e6..b19f3a48d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_chart_data.py
@@ -66,14 +66,14 @@ class GsaIntegerChartData(GsaChartData):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"record_version_guid": "str",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"record_version_guid": "recordVersionGuid",
"value": "value",
@@ -86,7 +86,7 @@ class GsaIntegerChartData(GsaChartData):
def __init__(
self,
*,
- type: "GsaChartDataType" = GsaChartDataType.INTEGER,
+ type_: "GsaChartDataType" = GsaChartDataType.INTEGER,
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
record_version_guid: "str | Unset_Type" = Unset,
value: "int | Unset_Type" = Unset,
@@ -95,13 +95,15 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
record_version_guid: str, optional
value: int, optional
"""
super().__init__(
- type=type, bubble_axis_value=bubble_axis_value, record_version_guid=record_version_guid
+ type_=type_,
+ bubble_axis_value=bubble_axis_value,
+ record_version_guid=record_version_guid,
)
self._value: int | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_criterion.py
index 42e85e435..da857f40e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "int",
"lte": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.INTEGER,
gte: "int | None | Unset_Type" = Unset,
lte: "int | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: int | None, optional
lte: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: int | None | Unset_Type = Unset
self._lte: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_exists_criterion.py
index 026bdb66d..fa8d0a112 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
) -> None:
"""GsaIntegerDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
index 405d47886..6aa3e60b9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
index 921d13899..fc266d885 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integer_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion)
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.INTEGERHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaIntegerHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integration_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integration_attribute.py
index 2bd9bde54..cbc815db0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integration_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_integration_attribute.py
@@ -62,7 +62,7 @@ class GsaIntegrationAttribute(ModelBase):
"""
swagger_types: dict[str, str] = {
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"discrete_type_guid": "str",
"discrete_type_identity": "int",
"graph_type": "str",
@@ -78,7 +78,7 @@ class GsaIntegrationAttribute(ModelBase):
attribute_map: dict[str, str] = {
"name": "name",
- "type": "type",
+ "type_": "type",
"discrete_type_guid": "discreteTypeGuid",
"discrete_type_identity": "discreteTypeIdentity",
"graph_type": "graphType",
@@ -105,7 +105,7 @@ def __init__(
self,
*,
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
discrete_type_guid: "str | None | Unset_Type" = Unset,
discrete_type_identity: "int | None | Unset_Type" = Unset,
graph_type: "str | None | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
discrete_type_guid: str | None, optional
discrete_type_identity: int | None, optional
graph_type: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
self._name: str
self._identity: int | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._unit_symbol: str | None | Unset_Type = Unset
self._is_unitted: bool | None | Unset_Type = Unset
self._discrete_type_identity: int | None | Unset_Type = Unset
@@ -155,7 +155,7 @@ def __init__(
self.identity = identity
if guid is not Unset:
self.guid = guid
- self.type = type
+ self.type_ = type_
if unit_symbol is not Unset:
self.unit_symbol = unit_symbol
if is_unitted is not Unset:
@@ -254,32 +254,32 @@ def guid(self, guid: "str | Unset_Type") -> None:
self._guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaIntegrationAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaIntegrationAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ The type_ of this GsaIntegrationAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaIntegrationAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaIntegrationAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaIntegrationAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaIntegrationAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def unit_symbol(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_job.py
index 7ac0d6c2d..1e0686f04 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_job.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_job.py
@@ -64,7 +64,7 @@ class GsaJob(ModelBase):
"completion_date": "datetime",
"description": "str",
"execution_date": "datetime",
- "id": "str",
+ "id_": "str",
"input_file_ids": "list[str]",
"job_specific_outputs": "dict(str, object)",
"name": "str",
@@ -75,14 +75,14 @@ class GsaJob(ModelBase):
"submission_date": "datetime",
"submitter_name": "str",
"submitter_roles": "list[str]",
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
"completion_date": "completionDate",
"description": "description",
"execution_date": "executionDate",
- "id": "id",
+ "id_": "id",
"input_file_ids": "inputFileIds",
"job_specific_outputs": "jobSpecificOutputs",
"name": "name",
@@ -93,7 +93,7 @@ class GsaJob(ModelBase):
"submission_date": "submissionDate",
"submitter_name": "submitterName",
"submitter_roles": "submitterRoles",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -108,7 +108,7 @@ def __init__(
completion_date: "datetime | None | Unset_Type" = Unset,
description: "str | None | Unset_Type" = Unset,
execution_date: "datetime | None | Unset_Type" = Unset,
- id: "str | Unset_Type" = Unset,
+ id_: "str | Unset_Type" = Unset,
input_file_ids: "list[str] | None | Unset_Type" = Unset,
job_specific_outputs: "dict[str, object] | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
@@ -119,7 +119,7 @@ def __init__(
submission_date: "datetime | None | Unset_Type" = Unset,
submitter_name: "str | None | Unset_Type" = Unset,
submitter_roles: "list[str] | None | Unset_Type" = Unset,
- type: "str | None | Unset_Type" = Unset,
+ type_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaJob - a model defined in Swagger
@@ -128,7 +128,7 @@ def __init__(
completion_date: datetime | None, optional
description: str | None, optional
execution_date: datetime | None, optional
- id: str, optional
+ id_: str, optional
input_file_ids: list[str] | None, optional
job_specific_outputs: dict[str, object] | None, optional
name: str | None, optional
@@ -139,12 +139,12 @@ def __init__(
submission_date: datetime | None, optional
submitter_name: str | None, optional
submitter_roles: list[str] | None, optional
- type: str | None, optional
+ type_: str | None, optional
"""
- self._id: str | Unset_Type = Unset
+ self._id_: str | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._description: str | None | Unset_Type = Unset
- self._type: str | None | Unset_Type = Unset
+ self._type_: str | None | Unset_Type = Unset
self._submitter_name: str | None | Unset_Type = Unset
self._submitter_roles: list[str] | None | Unset_Type = Unset
self._submission_date: datetime | None | Unset_Type = Unset
@@ -157,14 +157,14 @@ def __init__(
self._position: int | None | Unset_Type = Unset
self._job_specific_outputs: dict[str, object] | None | Unset_Type = Unset
- if id is not Unset:
- self.id = id
+ if id_ is not Unset:
+ self.id_ = id_
if name is not Unset:
self.name = name
if description is not Unset:
self.description = description
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if submitter_name is not Unset:
self.submitter_name = submitter_name
if submitter_roles is not Unset:
@@ -189,29 +189,29 @@ def __init__(
self.job_specific_outputs = job_specific_outputs
@property
- def id(self) -> "str | Unset_Type":
- """Gets the id of this GsaJob.
+ def id_(self) -> "str | Unset_Type":
+ """Gets the id_ of this GsaJob.
Returns
-------
str | Unset_Type
- The id of this GsaJob.
+ The id_ of this GsaJob.
"""
- return self._id
+ return self._id_
- @id.setter
- def id(self, id: "str | Unset_Type") -> None:
- """Sets the id of this GsaJob.
+ @id_.setter
+ def id_(self, id_: "str | Unset_Type") -> None:
+ """Sets the id_ of this GsaJob.
Parameters
----------
- id: str | Unset_Type
- The id of this GsaJob.
+ id_: str | Unset_Type
+ The id_ of this GsaJob.
"""
# Field is not nullable
- if id is None:
- raise ValueError("Invalid value for 'id', must not be 'None'")
- self._id = id
+ if id_ is None:
+ raise ValueError("Invalid value for 'id_', must not be 'None'")
+ self._id_ = id_
@property
def name(self) -> "str | None | Unset_Type":
@@ -258,26 +258,26 @@ def description(self, description: "str | None | Unset_Type") -> None:
self._description = description
@property
- def type(self) -> "str | None | Unset_Type":
- """Gets the type of this GsaJob.
+ def type_(self) -> "str | None | Unset_Type":
+ """Gets the type_ of this GsaJob.
Returns
-------
str | None | Unset_Type
- The type of this GsaJob.
+ The type_ of this GsaJob.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str | None | Unset_Type") -> None:
- """Sets the type of this GsaJob.
+ @type_.setter
+ def type_(self, type_: "str | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaJob.
Parameters
----------
- type: str | None | Unset_Type
- The type of this GsaJob.
+ type_: str | None | Unset_Type
+ The type_ of this GsaJob.
"""
- self._type = type
+ self._type_ = type_
@property
def submitter_name(self) -> "str | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link.py
index 9fa9fe636..40cf44916 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link.py
@@ -68,7 +68,7 @@ class GsaLink(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -78,7 +78,7 @@ class GsaLink(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType",
+ type_: "GsaLinkAttributeType",
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaLink - a model defined in Swagger
@@ -116,10 +116,10 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
- self._type: GsaLinkAttributeType
+ self._type_: GsaLinkAttributeType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._link_info: GsaLinkInfo
@@ -127,7 +127,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -137,32 +137,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaLinkAttributeType":
- """Gets the type of this GsaLink.
+ def type_(self) -> "GsaLinkAttributeType":
+ """Gets the type_ of this GsaLink.
Returns
-------
GsaLinkAttributeType
- The type of this GsaLink.
+ The type_ of this GsaLink.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaLinkAttributeType") -> None:
- """Sets the type of this GsaLink.
+ @type_.setter
+ def type_(self, type_: "GsaLinkAttributeType") -> None:
+ """Sets the type_ of this GsaLink.
Parameters
----------
- type: GsaLinkAttributeType
- The type of this GsaLink.
+ type_: GsaLinkAttributeType
+ The type_ of this GsaLink.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_aggregation_datum_criterion.py
index 7fdf84910..81f64948d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"local_aggregation_criteria": "list[GsaLocalColumnAggregationCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"local_aggregation_criteria": "localAggregationCriteria",
}
@@ -86,17 +86,17 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK,
local_aggregation_criteria: "list[GsaLocalColumnAggregationCriterion] | None | Unset_Type" = Unset,
) -> None:
"""GsaLinkAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
local_aggregation_criteria: list[GsaLocalColumnAggregationCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._local_aggregation_criteria: (
list[GsaLocalColumnAggregationCriterion] | None | Unset_Type
) = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_datum_criterion.py
index 5026d4277..491164108 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_datum_criterion.py
@@ -69,7 +69,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"link_datum_type": "GsaLinkAttributeType",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"indirect_links": "GsaIndirectLinks",
"inner_criterion": "GsaCriterion",
"local_criterion": "GsaCriterion",
@@ -84,7 +84,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion):
attribute_map: dict[str, str] = {
"link_datum_type": "linkDatumType",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"inner_criterion": "innerCriterion",
"local_criterion": "localCriterion",
@@ -111,7 +111,7 @@ def __init__(
self,
*,
link_datum_type: "GsaLinkAttributeType",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
local_criterion: "GsaCriterion | Unset_Type" = Unset,
@@ -128,7 +128,7 @@ def __init__(
Parameters
----------
link_datum_type: GsaLinkAttributeType
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
indirect_links: GsaIndirectLinks, optional
inner_criterion: GsaCriterion, optional
local_criterion: GsaCriterion, optional
@@ -140,7 +140,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_exists_datum_criterion.py
index ec89a8a8f..1e16b3d50 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_exists_datum_criterion.py
@@ -67,7 +67,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
"""
swagger_types: dict[str, str] = {
"target_database_key": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"indirect_links": "GsaIndirectLinks",
"link_datum_type": "GsaLinkAttributeType",
"local_rows_behavior": "GsaLocalRowsBehavior",
@@ -80,7 +80,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion):
attribute_map: dict[str, str] = {
"target_database_key": "targetDatabaseKey",
- "type": "type",
+ "type_": "type",
"indirect_links": "indirectLinks",
"link_datum_type": "linkDatumType",
"local_rows_behavior": "localRowsBehavior",
@@ -103,7 +103,7 @@ def __init__(
self,
*,
target_database_key: "str",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
indirect_links: "GsaIndirectLinks | Unset_Type" = Unset,
link_datum_type: "GsaLinkAttributeType | Unset_Type" = Unset,
local_rows_behavior: "GsaLocalRowsBehavior | Unset_Type" = Unset,
@@ -118,7 +118,7 @@ def __init__(
Parameters
----------
target_database_key: str
- type: GsaAttributeType
+ type_: GsaAttributeType
indirect_links: GsaIndirectLinks, optional
link_datum_type: GsaLinkAttributeType, optional
local_rows_behavior: GsaLocalRowsBehavior, optional
@@ -128,7 +128,7 @@ def __init__(
target_table_guid: str | None, optional
target_table_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._target_table_identity: int | None | Unset_Type = Unset
self._target_table_guid: str | None | Unset_Type = Unset
self._target_database_key: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_export_failure.py
index 71bd9b8ae..e502b670c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_link_export_failure.py
@@ -71,14 +71,14 @@ class GsaLinkExportFailure(GsaExportFailure):
"failed_link": "GsaLinkReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_link": "failedLink",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_link: "GsaLinkReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.LINK,
+ type_: "GsaExportFailureType" = GsaExportFailureType.LINK,
) -> None:
"""GsaLinkExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_link: GsaLinkReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_link: GsaLinkReference
self.failed_link = failed_link
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_linking_value_exists_datum_criterion.py
index 7bc832a36..37568e5b3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_linking_value_exists_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_linking_value_exists_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"attribute_type": "GsaAttributeType",
"inner_hits_identifier": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_type": "attributeType",
"inner_hits_identifier": "innerHitsIdentifier",
}
@@ -88,7 +88,7 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SMARTLINKINGVALUE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SMARTLINKINGVALUE,
attribute_type: "GsaAttributeType | Unset_Type" = Unset,
inner_hits_identifier: "str | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
attribute_type: GsaAttributeType, optional
inner_hits_identifier: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._attribute_type: GsaAttributeType | Unset_Type = Unset
self._inner_hits_identifier: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_boolean_criterion.py
index db5e33422..0f7c103c6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_boolean_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_boolean_criterion.py
@@ -65,13 +65,13 @@ class GsaListBooleanCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"match_all": "list[GsaListCriterion]",
"match_any": "list[GsaListCriterion]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"match_all": "matchAll",
"match_any": "matchAny",
}
@@ -86,7 +86,7 @@ class GsaListBooleanCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "listBoolean",
+ type_: "str" = "listBoolean",
match_all: "list[GsaListCriterion] | None | Unset_Type" = Unset,
match_any: "list[GsaListCriterion] | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
match_all: list[GsaListCriterion] | None, optional
match_any: list[GsaListCriterion] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._match_any: list[GsaListCriterion] | None | Unset_Type = Unset
self._match_all: list[GsaListCriterion] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_criterion.py
index 74d35a3c3..bf8f5974e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_list_criterion.py
@@ -63,11 +63,11 @@ class GsaListCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,45 +82,45 @@ class GsaListCriterion(ModelBase):
def __init__(
self,
*,
- type: "str",
+ type_: "str",
) -> None:
"""GsaListCriterion - a model defined in Swagger
Parameters
----------
- type: str
+ type_: str
"""
- self._type: str
+ self._type_: str
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "str":
- """Gets the type of this GsaListCriterion.
+ def type_(self) -> "str":
+ """Gets the type_ of this GsaListCriterion.
Returns
-------
str
- The type of this GsaListCriterion.
+ The type_ of this GsaListCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "str") -> None:
- """Sets the type of this GsaListCriterion.
+ @type_.setter
+ def type_(self, type_: "str") -> None:
+ """Sets the type_ of this GsaListCriterion.
Parameters
----------
- type: str
- The type of this GsaListCriterion.
+ type_: str
+ The type_ of this GsaListCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_criterion.py
index 04bb10ccd..5ca005c77 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_criterion.py
@@ -67,14 +67,14 @@ class GsaLocalColumnCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType",
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -104,11 +104,11 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._identity: int | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
self._local_column_criterion_type: GsaLocalColumnCriterionType
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_exists_criterion.py
index b0e52b155..93ef05165 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_exists_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumExistsCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumExistsCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.EXISTS,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumExistsCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_matches_criterion.py
index 72216db00..85ef73500 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_matches_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_matches_criterion.py
@@ -71,7 +71,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
@@ -79,7 +79,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion):
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -95,7 +95,7 @@ def __init__(
*,
inner_criterion: "GsaDatumCriterion",
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.MATCHES,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -105,13 +105,13 @@ def __init__(
----------
inner_criterion: GsaDatumCriterion
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_not_applicable_criterion.py
index 4f7a82823..a051ee541 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_not_applicable_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_local_column_not_applicable_criterion.py
@@ -70,14 +70,14 @@ class GsaLocalColumnNotApplicableCriterion(GsaLocalColumnCriterion):
"""
swagger_types: dict[str, str] = {
"local_column_criterion_type": "GsaLocalColumnCriterionType",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"guid": "str",
"identity": "int",
}
attribute_map: dict[str, str] = {
"local_column_criterion_type": "localColumnCriterionType",
- "type": "type",
+ "type_": "type",
"guid": "guid",
"identity": "identity",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
local_column_criterion_type: "GsaLocalColumnCriterionType" = GsaLocalColumnCriterionType.NOTAPPLICABLE,
- type: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
+ type_: "GsaCriterionType" = GsaCriterionType.LOCALCOLUMN,
guid: "str | None | Unset_Type" = Unset,
identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -99,13 +99,13 @@ def __init__(
Parameters
----------
local_column_criterion_type: GsaLocalColumnCriterionType
- type: GsaCriterionType
+ type_: GsaCriterionType
guid: str | None, optional
identity: int | None, optional
"""
super().__init__(
local_column_criterion_type=local_column_criterion_type,
- type=type,
+ type_=type_,
guid=guid,
identity=identity,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_aggregation_datum_criterion.py
index 355765147..7586e4040 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LOGICAL,
) -> None:
"""GsaLogicalAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_attribute.py
index 28114c78c..8c44c67d0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_attribute.py
@@ -72,7 +72,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaLogicalAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_chart_data.py
index 5f4031f0e..60a90efe1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_chart_data.py
@@ -66,14 +66,14 @@ class GsaLogicalChartData(GsaChartData):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"record_version_guid": "str",
"value": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"record_version_guid": "recordVersionGuid",
"value": "value",
@@ -86,7 +86,7 @@ class GsaLogicalChartData(GsaChartData):
def __init__(
self,
*,
- type: "GsaChartDataType" = GsaChartDataType.LOGICAL,
+ type_: "GsaChartDataType" = GsaChartDataType.LOGICAL,
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
record_version_guid: "str | Unset_Type" = Unset,
value: "bool | Unset_Type" = Unset,
@@ -95,13 +95,15 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
record_version_guid: str, optional
value: bool, optional
"""
super().__init__(
- type=type, bubble_axis_value=bubble_axis_value, record_version_guid=record_version_guid
+ type_=type_,
+ bubble_axis_value=bubble_axis_value,
+ record_version_guid=record_version_guid,
)
self._value: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_criterion.py
index e92deaf27..67324ab09 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "bool",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LOGICAL,
value: "bool",
) -> None:
"""GsaLogicalDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: bool
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: bool
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_exists_criterion.py
index 7b86f2419..274d6be75 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_logical_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
) -> None:
"""GsaLogicalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_sorting_value.py
index 5337b12ae..d22e45961 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_sorting_value.py
@@ -68,12 +68,12 @@ class GsaLongSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.LONG,
+ type_: "GsaSortingValueType" = GsaSortingValueType.LONG,
value: "int | Unset_Type" = Unset,
) -> None:
"""GsaLongSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: int | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_attribute.py
index d92cce16f..75113cf89 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_attribute.py
@@ -72,7 +72,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaLongTextAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_criterion.py
index d710e89d3..6a3352cab 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXT,
value: "str",
) -> None:
"""GsaLongTextDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self.value = value
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_exists_criterion.py
index 7455537e2..2bbf6b7eb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
) -> None:
"""GsaLongTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_prefix_datum_criterion.py
index 86b126d99..ab1f3982f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_long_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaLongTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.LONGTEXTPREFIX,
) -> None:
"""GsaLongTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_attribute.py
index 27c60fe27..67c4a6356 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_attribute.py
@@ -79,7 +79,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -102,7 +102,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute):
"is_range": "isRange",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -136,7 +136,7 @@ def __init__(
is_range: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -161,7 +161,7 @@ def __init__(
is_range: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -176,7 +176,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_criterion.py
index d7204f8a4..628ad1dd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_criterion.py
@@ -68,14 +68,14 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"constraints": "list[GsaParameterConstraint]",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"constraints": "constraints",
"gte": "gte",
"lte": "lte",
@@ -90,7 +90,7 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL,
constraints: "list[GsaParameterConstraint] | None | Unset_Type" = Unset,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
@@ -99,12 +99,12 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
constraints: list[GsaParameterConstraint] | None, optional
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._constraints: list[GsaParameterConstraint] | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_exists_criterion.py
index 745d6e88c..589c6a6bf 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_maths_functional_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
) -> None:
"""GsaMathsFunctionalDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_named_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_named_criterion.py
index f83a27d5a..26f737d98 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_named_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_named_criterion.py
@@ -64,13 +64,13 @@ class GsaNamedCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"inner_criterion": "GsaCriterion",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"inner_criterion": "innerCriterion",
"name": "name",
}
@@ -84,7 +84,7 @@ class GsaNamedCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
+ type_: "GsaCriterionType" = GsaCriterionType.NAMEDCRITERION,
inner_criterion: "GsaCriterion | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
inner_criterion: GsaCriterion, optional
name: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name: str | None | Unset_Type = Unset
self._inner_criterion: GsaCriterion | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter.py
index f12750984..9419f2243 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter.py
@@ -71,7 +71,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "bool",
"name": "str",
"scale_type": "GsaParameterScaleType",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"values": "list[GsaNumericParameterValue]",
"unit": "GsaSlimUnit",
}
@@ -84,7 +84,7 @@ class GsaNumericParameter(GsaParameter):
"is_restricted": "isRestricted",
"name": "name",
"scale_type": "scaleType",
- "type": "type",
+ "type_": "type",
"values": "values",
"unit": "unit",
}
@@ -108,7 +108,7 @@ def __init__(
is_restricted: "bool",
name: "str",
scale_type: "GsaParameterScaleType",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
values: "list[GsaNumericParameterValue]",
unit: "GsaSlimUnit | Unset_Type" = Unset,
) -> None:
@@ -123,7 +123,7 @@ def __init__(
is_restricted: bool
name: str
scale_type: GsaParameterScaleType
- type: GsaParameterType
+ type_: GsaParameterType
values: list[GsaNumericParameterValue]
unit: GsaSlimUnit, optional
"""
@@ -132,7 +132,7 @@ def __init__(
display_names=display_names,
guid=guid,
name=name,
- type=type,
+ type_=type_,
)
self._is_restricted: bool
self._unit: GsaSlimUnit | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_constraint.py
index 0846817bd..42f18d665 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_constraint.py
@@ -69,7 +69,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
"gte": "float",
"lte": "float",
"significant_figures": "int",
@@ -77,7 +77,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint):
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
"significant_figures": "significantFigures",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
+ type_: "GsaParameterConstraintType" = GsaParameterConstraintType.NUMERIC,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
significant_figures: "int | None | Unset_Type" = Unset,
@@ -101,12 +101,12 @@ def __init__(
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
gte: float | None, optional
lte: float | None, optional
significant_figures: int | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
self._significant_figures: int | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_content.py
index edcf7f1fd..93ffafb37 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaNumericParameterContent(GsaParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_value.py
index 9065a21b5..e0249a952 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_numeric_parameter_value.py
@@ -69,7 +69,7 @@ class GsaNumericParameterValue(GsaParameterValue):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"value": "float",
"name": "str",
"parameter_guid": "str",
@@ -77,7 +77,7 @@ class GsaNumericParameterValue(GsaParameterValue):
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"value": "value",
"name": "name",
"parameter_guid": "parameterGuid",
@@ -91,7 +91,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
value: "float",
name: "str | None | Unset_Type" = Unset,
parameter_guid: "str | Unset_Type" = Unset,
@@ -101,12 +101,12 @@ def __init__(
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
value: float
name: str | None, optional
parameter_guid: str, optional
"""
- super().__init__(guid=guid, type=type, parameter_guid=parameter_guid)
+ super().__init__(guid=guid, type_=type_, parameter_guid=parameter_guid)
self._value: float
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_pagination_links.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_pagination_links.py
index a2a506a43..3f077a7e2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_pagination_links.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_pagination_links.py
@@ -61,11 +61,11 @@ class GsaPaginationLinks(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "next": "str",
+ "next_": "str",
}
attribute_map: dict[str, str] = {
- "next": "next",
+ "next_": "next",
}
subtype_mapping: dict[str, str] = {}
@@ -75,40 +75,40 @@ class GsaPaginationLinks(ModelBase):
def __init__(
self,
*,
- next: "str | None | Unset_Type" = Unset,
+ next_: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaPaginationLinks - a model defined in Swagger
Parameters
----------
- next: str | None, optional
+ next_: str | None, optional
"""
- self._next: str | None | Unset_Type = Unset
+ self._next_: str | None | Unset_Type = Unset
- if next is not Unset:
- self.next = next
+ if next_ is not Unset:
+ self.next_ = next_
@property
- def next(self) -> "str | None | Unset_Type":
- """Gets the next of this GsaPaginationLinks.
+ def next_(self) -> "str | None | Unset_Type":
+ """Gets the next_ of this GsaPaginationLinks.
Returns
-------
str | None | Unset_Type
- The next of this GsaPaginationLinks.
+ The next_ of this GsaPaginationLinks.
"""
- return self._next
+ return self._next_
- @next.setter
- def next(self, next: "str | None | Unset_Type") -> None:
- """Sets the next of this GsaPaginationLinks.
+ @next_.setter
+ def next_(self, next_: "str | None | Unset_Type") -> None:
+ """Sets the next_ of this GsaPaginationLinks.
Parameters
----------
- next: str | None | Unset_Type
- The next of this GsaPaginationLinks.
+ next_: str | None | Unset_Type
+ The next_ of this GsaPaginationLinks.
"""
- self._next = next
+ self._next_ = next_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter.py
index b168d71fd..87c4ea012 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter.py
@@ -67,7 +67,7 @@ class GsaParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
@@ -75,7 +75,7 @@ class GsaParameter(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -96,7 +96,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaParameter - a model defined in Swagger
@@ -106,47 +106,47 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._default_parameter_value_guid: str
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.default_parameter_value_guid = default_parameter_value_guid
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameter.
Returns
-------
GsaParameterType
- The type of this GsaParameter.
+ The type_ of this GsaParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameter.
+ type_: GsaParameterType
+ The type_ of this GsaParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_parameter_value_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_constraint.py
index 42877446b..291413982 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_constraint.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_constraint.py
@@ -64,12 +64,12 @@ class GsaParameterConstraint(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaObjectIdentifier",
- "type": "GsaParameterConstraintType",
+ "type_": "GsaParameterConstraintType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -89,20 +89,20 @@ def __init__(
self,
*,
parameter: "GsaObjectIdentifier",
- type: "GsaParameterConstraintType",
+ type_: "GsaParameterConstraintType",
) -> None:
"""GsaParameterConstraint - a model defined in Swagger
Parameters
----------
parameter: GsaObjectIdentifier
- type: GsaParameterConstraintType
+ type_: GsaParameterConstraintType
"""
self._parameter: GsaObjectIdentifier
- self._type: GsaParameterConstraintType
+ self._type_: GsaParameterConstraintType
self.parameter = parameter
- self.type = type
+ self.type_ = type_
@property
def parameter(self) -> "GsaObjectIdentifier":
@@ -133,32 +133,32 @@ def parameter(self, parameter: "GsaObjectIdentifier") -> None:
self._parameter = parameter
@property
- def type(self) -> "GsaParameterConstraintType":
- """Gets the type of this GsaParameterConstraint.
+ def type_(self) -> "GsaParameterConstraintType":
+ """Gets the type_ of this GsaParameterConstraint.
Returns
-------
GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ The type_ of this GsaParameterConstraint.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterConstraintType") -> None:
- """Sets the type of this GsaParameterConstraint.
+ @type_.setter
+ def type_(self, type_: "GsaParameterConstraintType") -> None:
+ """Sets the type_ of this GsaParameterConstraint.
Parameters
----------
- type: GsaParameterConstraintType
- The type of this GsaParameterConstraint.
+ type_: GsaParameterConstraintType
+ The type_ of this GsaParameterConstraint.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_content.py
index be41040b7..1509762fc 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_content.py
@@ -64,12 +64,12 @@ class GsaParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimNamedEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimNamedEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimNamedEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimNamedEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaParameterContent.
+ The type_ of this GsaParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimNamedEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_value.py
index 9794051ea..f7a361f78 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_parameter_value.py
@@ -64,13 +64,13 @@ class GsaParameterValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"parameter_guid": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"parameter_guid": "parameterGuid",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
parameter_guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaParameterValue - a model defined in Swagger
@@ -97,16 +97,16 @@ def __init__(
Parameters
----------
guid: str
- type: GsaParameterValueType
+ type_: GsaParameterValueType
parameter_guid: str, optional
"""
self._parameter_guid: str | Unset_Type = Unset
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str
if parameter_guid is not Unset:
self.parameter_guid = parameter_guid
- self.type = type
+ self.type_ = type_
self.guid = guid
@property
@@ -135,32 +135,32 @@ def parameter_guid(self, parameter_guid: "str | Unset_Type") -> None:
self._parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaParameterValue.
+ The type_ of this GsaParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_attribute.py
index e69cbe767..f57dc8a8d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_attribute.py
@@ -72,7 +72,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -87,7 +87,7 @@ class GsaPictureAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -108,7 +108,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -139,7 +139,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_criterion.py
index f45752c4d..f0e5d0f2c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPictureDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.PICTURE,
) -> None:
"""GsaPictureDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_exists_criterion.py
index 8d8d7c715..c3eedf7cb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_picture_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
) -> None:
"""GsaPictureDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_aggregation_datum_criterion.py
index 025622ba1..0e9b1b9cd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINT,
) -> None:
"""GsaPointAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_attribute.py
index 584ce421b..90eeb5800 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_attribute.py
@@ -74,7 +74,7 @@ class GsaPointAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -92,7 +92,7 @@ class GsaPointAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -119,7 +119,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -139,7 +139,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -154,7 +154,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_chart_data.py
index 5f1f1fe9e..e295e5d35 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_chart_data.py
@@ -66,7 +66,7 @@ class GsaPointChartData(GsaChartData):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"estimated": "bool",
"parameter_values": "str",
@@ -75,7 +75,7 @@ class GsaPointChartData(GsaChartData):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"estimated": "estimated",
"parameter_values": "parameterValues",
@@ -90,7 +90,7 @@ class GsaPointChartData(GsaChartData):
def __init__(
self,
*,
- type: "GsaChartDataType" = GsaChartDataType.POINT,
+ type_: "GsaChartDataType" = GsaChartDataType.POINT,
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
estimated: "bool | Unset_Type" = Unset,
parameter_values: "str | None | Unset_Type" = Unset,
@@ -101,7 +101,7 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
estimated: bool, optional
parameter_values: str | None, optional
@@ -109,7 +109,9 @@ def __init__(
value: float, optional
"""
super().__init__(
- type=type, bubble_axis_value=bubble_axis_value, record_version_guid=record_version_guid
+ type_=type_,
+ bubble_axis_value=bubble_axis_value,
+ record_version_guid=record_version_guid,
)
self._value: float | Unset_Type = Unset
self._estimated: bool | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_criterion.py
index d31377d50..cb48cb895 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaPointDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.POINT,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_exists_criterion.py
index 70cb8144f..fc2516a69 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
) -> None:
"""GsaPointDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
index 905f185eb..7dd042e24 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_histogram_aggregation_datum_criterion.py
index d1e398b8a..6139ac7b8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_point_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.POINTHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaPointHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_discrete_value.py
index 2e07fce73..522392ff2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_discrete_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_discrete_value.py
@@ -63,11 +63,11 @@ class GsaPutDiscreteValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaPutDiscreteValue(ModelBase):
def __init__(
self,
*,
- type: "GsaPutType",
+ type_: "GsaPutType",
) -> None:
"""GsaPutDiscreteValue - a model defined in Swagger
Parameters
----------
- type: GsaPutType
+ type_: GsaPutType
"""
- self._type: GsaPutType
+ self._type_: GsaPutType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaPutType":
- """Gets the type of this GsaPutDiscreteValue.
+ def type_(self) -> "GsaPutType":
+ """Gets the type_ of this GsaPutDiscreteValue.
Returns
-------
GsaPutType
- The type of this GsaPutDiscreteValue.
+ The type_ of this GsaPutDiscreteValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaPutType") -> None:
- """Sets the type of this GsaPutDiscreteValue.
+ @type_.setter
+ def type_(self, type_: "GsaPutType") -> None:
+ """Sets the type_ of this GsaPutDiscreteValue.
Parameters
----------
- type: GsaPutType
- The type of this GsaPutDiscreteValue.
+ type_: GsaPutType
+ The type_ of this GsaPutDiscreteValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_layout_item.py
index f094d40b9..4c5b9062c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_layout_item.py
@@ -63,11 +63,11 @@ class GsaPutLayoutItem(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaPutLayoutItem(ModelBase):
def __init__(
self,
*,
- type: "GsaPutType",
+ type_: "GsaPutType",
) -> None:
"""GsaPutLayoutItem - a model defined in Swagger
Parameters
----------
- type: GsaPutType
+ type_: GsaPutType
"""
- self._type: GsaPutType
+ self._type_: GsaPutType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaPutType":
- """Gets the type of this GsaPutLayoutItem.
+ def type_(self) -> "GsaPutType":
+ """Gets the type_ of this GsaPutLayoutItem.
Returns
-------
GsaPutType
- The type of this GsaPutLayoutItem.
+ The type_ of this GsaPutLayoutItem.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaPutType") -> None:
- """Sets the type of this GsaPutLayoutItem.
+ @type_.setter
+ def type_(self, type_: "GsaPutType") -> None:
+ """Sets the type_ of this GsaPutLayoutItem.
Parameters
----------
- type: GsaPutType
- The type of this GsaPutLayoutItem.
+ type_: GsaPutType
+ The type_ of this GsaPutLayoutItem.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission.py
index 0546d5f1a..95607bb0f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission.py
@@ -63,11 +63,11 @@ class GsaPutPermission(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaPutPermission(ModelBase):
def __init__(
self,
*,
- type: "GsaPutType",
+ type_: "GsaPutType",
) -> None:
"""GsaPutPermission - a model defined in Swagger
Parameters
----------
- type: GsaPutType
+ type_: GsaPutType
"""
- self._type: GsaPutType
+ self._type_: GsaPutType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaPutType":
- """Gets the type of this GsaPutPermission.
+ def type_(self) -> "GsaPutType":
+ """Gets the type_ of this GsaPutPermission.
Returns
-------
GsaPutType
- The type of this GsaPutPermission.
+ The type_ of this GsaPutPermission.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaPutType") -> None:
- """Sets the type of this GsaPutPermission.
+ @type_.setter
+ def type_(self, type_: "GsaPutType") -> None:
+ """Sets the type_ of this GsaPutPermission.
Parameters
----------
- type: GsaPutType
- The type of this GsaPutPermission.
+ type_: GsaPutType
+ The type_ of this GsaPutPermission.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission_category.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission_category.py
index bf35e9270..37b61d9c9 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission_category.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_put_permission_category.py
@@ -63,11 +63,11 @@ class GsaPutPermissionCategory(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -84,45 +84,45 @@ class GsaPutPermissionCategory(ModelBase):
def __init__(
self,
*,
- type: "GsaPutType",
+ type_: "GsaPutType",
) -> None:
"""GsaPutPermissionCategory - a model defined in Swagger
Parameters
----------
- type: GsaPutType
+ type_: GsaPutType
"""
- self._type: GsaPutType
+ self._type_: GsaPutType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaPutType":
- """Gets the type of this GsaPutPermissionCategory.
+ def type_(self) -> "GsaPutType":
+ """Gets the type_ of this GsaPutPermissionCategory.
Returns
-------
GsaPutType
- The type of this GsaPutPermissionCategory.
+ The type_ of this GsaPutPermissionCategory.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaPutType") -> None:
- """Sets the type of this GsaPutPermissionCategory.
+ @type_.setter
+ def type_(self, type_: "GsaPutType") -> None:
+ """Sets the type_ of this GsaPutPermissionCategory.
Parameters
----------
- type: GsaPutType
- The type of this GsaPutPermissionCategory.
+ type_: GsaPutType
+ The type_ of this GsaPutPermissionCategory.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_quality_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_quality_system.py
index 1d6435821..f6952dfdb 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_quality_system.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_quality_system.py
@@ -65,13 +65,13 @@ class GsaQualitySystem(ModelBase):
swagger_types: dict[str, str] = {
"guid": "str",
"name": "str",
- "type": "GsaQualitySystemType",
+ "type_": "GsaQualitySystemType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -90,7 +90,7 @@ def __init__(
*,
guid: "str",
name: "str",
- type: "GsaQualitySystemType",
+ type_: "GsaQualitySystemType",
) -> None:
"""GsaQualitySystem - a model defined in Swagger
@@ -98,43 +98,43 @@ def __init__(
----------
guid: str
name: str
- type: GsaQualitySystemType
+ type_: GsaQualitySystemType
"""
- self._type: GsaQualitySystemType
+ self._type_: GsaQualitySystemType
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaQualitySystemType":
- """Gets the type of this GsaQualitySystem.
+ def type_(self) -> "GsaQualitySystemType":
+ """Gets the type_ of this GsaQualitySystem.
Returns
-------
GsaQualitySystemType
- The type of this GsaQualitySystem.
+ The type_ of this GsaQualitySystem.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaQualitySystemType") -> None:
- """Sets the type of this GsaQualitySystem.
+ @type_.setter
+ def type_(self, type_: "GsaQualitySystemType") -> None:
+ """Sets the type_ of this GsaQualitySystem.
Parameters
----------
- type: GsaQualitySystemType
- The type of this GsaQualitySystem.
+ type_: GsaQualitySystemType
+ The type_ of this GsaQualitySystem.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute.py
index 42aa25a3d..a26ba7bd8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute.py
@@ -80,7 +80,7 @@ class GsaQueryAttribute(ModelBase):
"table": "GsaQuerySlimEntity",
"tabular_columns": "list[GsaQueryTabularColumn]",
"target": "GsaQueryTabularAttributeTarget",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"unit": "GsaQueryUnit",
}
@@ -104,7 +104,7 @@ class GsaQueryAttribute(ModelBase):
"table": "table",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -148,7 +148,7 @@ def __init__(
table: "GsaQuerySlimEntity | Unset_Type" = Unset,
tabular_columns: "list[GsaQueryTabularColumn] | None | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTarget | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
unit: "GsaQueryUnit | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttribute - a model defined in Swagger
@@ -174,11 +174,11 @@ def __init__(
table: GsaQuerySlimEntity, optional
tabular_columns: list[GsaQueryTabularColumn] | None, optional
target: GsaQueryTabularAttributeTarget, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
unit: GsaQueryUnit, optional
"""
self._is_protected: bool | None | Unset_Type = Unset
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -201,8 +201,8 @@ def __init__(
if is_protected is not Unset:
self.is_protected = is_protected
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -265,29 +265,29 @@ def is_protected(self, is_protected: "bool | None | Unset_Type") -> None:
self._is_protected = is_protected
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQueryAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQueryAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ The type_ of this GsaQueryAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQueryAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQueryAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_filter.py
index 6b0341f46..a64b4eaf2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_filter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_filter.py
@@ -64,14 +64,14 @@ class GsaQueryAttributeFilter(ModelBase):
"discrete_type": "GsaQuerySlimNamedEntityFilter",
"guid": "list[str]",
"name": "list[str]",
- "type": "list[GsaAttributeType]",
+ "type_": "list[GsaAttributeType]",
}
attribute_map: dict[str, str] = {
"discrete_type": "discreteType",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,7 +87,7 @@ def __init__(
discrete_type: "GsaQuerySlimNamedEntityFilter | Unset_Type" = Unset,
guid: "list[str] | None | Unset_Type" = Unset,
name: "list[str] | None | Unset_Type" = Unset,
- type: "list[GsaAttributeType] | None | Unset_Type" = Unset,
+ type_: "list[GsaAttributeType] | None | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeFilter - a model defined in Swagger
@@ -96,15 +96,15 @@ def __init__(
discrete_type: GsaQuerySlimNamedEntityFilter, optional
guid: list[str] | None, optional
name: list[str] | None, optional
- type: list[GsaAttributeType] | None, optional
+ type_: list[GsaAttributeType] | None, optional
"""
- self._type: list[GsaAttributeType] | None | Unset_Type = Unset
+ self._type_: list[GsaAttributeType] | None | Unset_Type = Unset
self._name: list[str] | None | Unset_Type = Unset
self._guid: list[str] | None | Unset_Type = Unset
self._discrete_type: GsaQuerySlimNamedEntityFilter | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
@@ -113,28 +113,28 @@ def __init__(
self.discrete_type = discrete_type
@property
- def type(self) -> "list[GsaAttributeType] | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeFilter.
+ def type_(self) -> "list[GsaAttributeType] | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Returns
-------
list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ The type_ of this GsaQueryAttributeFilter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "list[GsaAttributeType] | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeFilter.
+ @type_.setter
+ def type_(self, type_: "list[GsaAttributeType] | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeFilter.
If set, only include attributes of any of these types. Note that Tabular attributes have type: link.
Parameters
----------
- type: list[GsaAttributeType] | None | Unset_Type
- The type of this GsaQueryAttributeFilter.
+ type_: list[GsaAttributeType] | None | Unset_Type
+ The type_ of this GsaQueryAttributeFilter.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "list[str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_properties.py
index ba5d842e4..af2a3df7a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attribute_properties.py
@@ -80,7 +80,7 @@ class GsaQueryAttributeProperties(ModelBase):
"table": "GsaQuerySlimEntityProperties",
"tabular_columns": "GsaQueryTabularColumnProperties",
"target": "GsaQueryTabularAttributeTargetProperties",
- "type": "bool",
+ "type_": "bool",
"unit": "GsaQueryUnitProperties",
}
@@ -104,7 +104,7 @@ class GsaQueryAttributeProperties(ModelBase):
"table": "table",
"tabular_columns": "tabularColumns",
"target": "target",
- "type": "type",
+ "type_": "type",
"unit": "unit",
}
@@ -146,7 +146,7 @@ def __init__(
table: "GsaQuerySlimEntityProperties | Unset_Type" = Unset,
tabular_columns: "GsaQueryTabularColumnProperties | Unset_Type" = Unset,
target: "GsaQueryTabularAttributeTargetProperties | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
unit: "GsaQueryUnitProperties | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributeProperties - a model defined in Swagger
@@ -172,11 +172,11 @@ def __init__(
table: GsaQuerySlimEntityProperties, optional
tabular_columns: GsaQueryTabularColumnProperties, optional
target: GsaQueryTabularAttributeTargetProperties, optional
- type: bool | None, optional
+ type_: bool | None, optional
unit: GsaQueryUnitProperties, optional
"""
self._is_protected: bool | None | Unset_Type = Unset
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._default_threshold_type: bool | None | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset
self._is_multi_valued: bool | None | Unset_Type = Unset
@@ -199,8 +199,8 @@ def __init__(
if is_protected is not Unset:
self.is_protected = is_protected
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if is_hidden_from_search_criteria is not Unset:
@@ -263,26 +263,26 @@ def is_protected(self, is_protected: "bool | None | Unset_Type") -> None:
self._is_protected = is_protected
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQueryAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQueryAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ The type_ of this GsaQueryAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQueryAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQueryAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQueryAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQueryAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def default_threshold_type(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attributes_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attributes_request.py
index 37339fd55..adbcb35a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attributes_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_attributes_request.py
@@ -62,12 +62,12 @@ class GsaQueryAttributesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryAttributeProperties",
- "filter": "GsaQueryAttributeFilter",
+ "filter_": "GsaQueryAttributeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryAttributeProperties",
- filter: "GsaQueryAttributeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryAttributeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryAttributesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryAttributeProperties
- filter: GsaQueryAttributeFilter, optional
+ filter_: GsaQueryAttributeFilter, optional
"""
self._properties: GsaQueryAttributeProperties
- self._filter: GsaQueryAttributeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryAttributeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryAttributeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryAttributeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryAttributeFilter | Unset_Type":
- """Gets the filter of this GsaQueryAttributesRequest.
+ def filter_(self) -> "GsaQueryAttributeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryAttributesRequest.
Returns
-------
GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ The filter_ of this GsaQueryAttributesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryAttributeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryAttributesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryAttributeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryAttributesRequest.
Parameters
----------
- filter: GsaQueryAttributeFilter | Unset_Type
- The filter of this GsaQueryAttributesRequest.
+ filter_: GsaQueryAttributeFilter | Unset_Type
+ The filter_ of this GsaQueryAttributesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_discrete_types_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_discrete_types_request.py
index 66f4bd6ed..07206bb58 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_discrete_types_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_discrete_types_request.py
@@ -62,12 +62,12 @@ class GsaQueryDiscreteTypesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryDiscreteTypeProperties",
- "filter": "GsaQueryDiscreteTypeFilter",
+ "filter_": "GsaQueryDiscreteTypeFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryDiscreteTypeProperties",
- filter: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryDiscreteTypeFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryDiscreteTypesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryDiscreteTypeProperties
- filter: GsaQueryDiscreteTypeFilter, optional
+ filter_: GsaQueryDiscreteTypeFilter, optional
"""
self._properties: GsaQueryDiscreteTypeProperties
- self._filter: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
+ self._filter_: GsaQueryDiscreteTypeFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryDiscreteTypeProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryDiscreteTypeProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
- """Gets the filter of this GsaQueryDiscreteTypesRequest.
+ def filter_(self) -> "GsaQueryDiscreteTypeFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryDiscreteTypesRequest.
Returns
-------
GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryDiscreteTypesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryDiscreteTypeFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryDiscreteTypesRequest.
Parameters
----------
- filter: GsaQueryDiscreteTypeFilter | Unset_Type
- The filter of this GsaQueryDiscreteTypesRequest.
+ filter_: GsaQueryDiscreteTypeFilter | Unset_Type
+ The filter_ of this GsaQueryDiscreteTypesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layout_sections_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layout_sections_request.py
index c2282c2f0..a50734ecd 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layout_sections_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layout_sections_request.py
@@ -62,12 +62,12 @@ class GsaQueryLayoutSectionsRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryLayoutSectionProperties",
- "filter": "GsaQueryLayoutSectionFilter",
+ "filter_": "GsaQueryLayoutSectionFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryLayoutSectionProperties",
- filter: "GsaQueryLayoutSectionFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryLayoutSectionFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryLayoutSectionsRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryLayoutSectionProperties
- filter: GsaQueryLayoutSectionFilter, optional
+ filter_: GsaQueryLayoutSectionFilter, optional
"""
self._properties: GsaQueryLayoutSectionProperties
- self._filter: GsaQueryLayoutSectionFilter | Unset_Type = Unset
+ self._filter_: GsaQueryLayoutSectionFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryLayoutSectionProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryLayoutSectionProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryLayoutSectionFilter | Unset_Type":
- """Gets the filter of this GsaQueryLayoutSectionsRequest.
+ def filter_(self) -> "GsaQueryLayoutSectionFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryLayoutSectionsRequest.
Returns
-------
GsaQueryLayoutSectionFilter | Unset_Type
- The filter of this GsaQueryLayoutSectionsRequest.
+ The filter_ of this GsaQueryLayoutSectionsRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryLayoutSectionFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryLayoutSectionsRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryLayoutSectionFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryLayoutSectionsRequest.
Parameters
----------
- filter: GsaQueryLayoutSectionFilter | Unset_Type
- The filter of this GsaQueryLayoutSectionsRequest.
+ filter_: GsaQueryLayoutSectionFilter | Unset_Type
+ The filter_ of this GsaQueryLayoutSectionsRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layouts_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layouts_request.py
index d37b1f2a9..7da117bc5 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layouts_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_layouts_request.py
@@ -62,12 +62,12 @@ class GsaQueryLayoutsRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryLayoutProperties",
- "filter": "GsaQueryLayoutFilter",
+ "filter_": "GsaQueryLayoutFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryLayoutProperties",
- filter: "GsaQueryLayoutFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryLayoutFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryLayoutsRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryLayoutProperties
- filter: GsaQueryLayoutFilter, optional
+ filter_: GsaQueryLayoutFilter, optional
"""
self._properties: GsaQueryLayoutProperties
- self._filter: GsaQueryLayoutFilter | Unset_Type = Unset
+ self._filter_: GsaQueryLayoutFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryLayoutProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryLayoutProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryLayoutFilter | Unset_Type":
- """Gets the filter of this GsaQueryLayoutsRequest.
+ def filter_(self) -> "GsaQueryLayoutFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryLayoutsRequest.
Returns
-------
GsaQueryLayoutFilter | Unset_Type
- The filter of this GsaQueryLayoutsRequest.
+ The filter_ of this GsaQueryLayoutsRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryLayoutFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryLayoutsRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryLayoutFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryLayoutsRequest.
Parameters
----------
- filter: GsaQueryLayoutFilter | Unset_Type
- The filter of this GsaQueryLayoutsRequest.
+ filter_: GsaQueryLayoutFilter | Unset_Type
+ The filter_ of this GsaQueryLayoutsRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute.py
index 3d861a9c5..1e8c4b2c3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute.py
@@ -64,14 +64,14 @@ class GsaQuerySlimTypedAttribute(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str] | None | Unset_Type" = Unset,
guid: "str | None | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
- type: "GsaAttributeType | Unset_Type" = Unset,
+ type_: "GsaAttributeType | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttribute - a model defined in Swagger
@@ -95,15 +95,15 @@ def __init__(
display_names: dict[str, str] | None, optional
guid: str | None, optional
name: str | None, optional
- type: GsaAttributeType, optional
+ type_: GsaAttributeType, optional
"""
- self._type: GsaAttributeType | Unset_Type = Unset
+ self._type_: GsaAttributeType | Unset_Type = Unset
self._display_names: dict[str, str] | None | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
self._guid: str | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if display_names is not Unset:
self.display_names = display_names
if name is not Unset:
@@ -112,29 +112,29 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttribute.
Returns
-------
GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType | Unset_Type
- The type of this GsaQuerySlimTypedAttribute.
+ type_: GsaAttributeType | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str] | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute_properties.py
index 64edd629a..00752db10 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute_properties.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_slim_typed_attribute_properties.py
@@ -63,13 +63,13 @@ class GsaQuerySlimTypedAttributeProperties(ModelBase):
swagger_types: dict[str, str] = {
"guid": "bool",
"name": "bool",
- "type": "bool",
+ "type_": "bool",
}
attribute_map: dict[str, str] = {
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -81,7 +81,7 @@ def __init__(
*,
guid: "bool | None | Unset_Type" = Unset,
name: "bool | None | Unset_Type" = Unset,
- type: "bool | None | Unset_Type" = Unset,
+ type_: "bool | None | Unset_Type" = Unset,
) -> None:
"""GsaQuerySlimTypedAttributeProperties - a model defined in Swagger
@@ -89,40 +89,40 @@ def __init__(
----------
guid: bool | None, optional
name: bool | None, optional
- type: bool | None, optional
+ type_: bool | None, optional
"""
- self._type: bool | None | Unset_Type = Unset
+ self._type_: bool | None | Unset_Type = Unset
self._name: bool | None | Unset_Type = Unset
self._guid: bool | None | Unset_Type = Unset
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if name is not Unset:
self.name = name
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "bool | None | Unset_Type":
- """Gets the type of this GsaQuerySlimTypedAttributeProperties.
+ def type_(self) -> "bool | None | Unset_Type":
+ """Gets the type_ of this GsaQuerySlimTypedAttributeProperties.
Returns
-------
bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "bool | None | Unset_Type") -> None:
- """Sets the type of this GsaQuerySlimTypedAttributeProperties.
+ @type_.setter
+ def type_(self, type_: "bool | None | Unset_Type") -> None:
+ """Sets the type_ of this GsaQuerySlimTypedAttributeProperties.
Parameters
----------
- type: bool | None | Unset_Type
- The type of this GsaQuerySlimTypedAttributeProperties.
+ type_: bool | None | Unset_Type
+ The type_ of this GsaQuerySlimTypedAttributeProperties.
"""
- self._type = type
+ self._type_ = type_
@property
def name(self) -> "bool | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_tables_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_tables_request.py
index d82a6bb6e..16ca5f533 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_tables_request.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_query_tables_request.py
@@ -62,12 +62,12 @@ class GsaQueryTablesRequest(ModelBase):
"""
swagger_types: dict[str, str] = {
"properties": "GsaQueryTableProperties",
- "filter": "GsaQueryTableFilter",
+ "filter_": "GsaQueryTableFilter",
}
attribute_map: dict[str, str] = {
"properties": "properties",
- "filter": "filter",
+ "filter_": "filter",
}
subtype_mapping: dict[str, str] = {
@@ -81,21 +81,21 @@ def __init__(
self,
*,
properties: "GsaQueryTableProperties",
- filter: "GsaQueryTableFilter | Unset_Type" = Unset,
+ filter_: "GsaQueryTableFilter | Unset_Type" = Unset,
) -> None:
"""GsaQueryTablesRequest - a model defined in Swagger
Parameters
----------
properties: GsaQueryTableProperties
- filter: GsaQueryTableFilter, optional
+ filter_: GsaQueryTableFilter, optional
"""
self._properties: GsaQueryTableProperties
- self._filter: GsaQueryTableFilter | Unset_Type = Unset
+ self._filter_: GsaQueryTableFilter | Unset_Type = Unset
self.properties = properties
- if filter is not Unset:
- self.filter = filter
+ if filter_ is not Unset:
+ self.filter_ = filter_
@property
def properties(self) -> "GsaQueryTableProperties":
@@ -126,29 +126,29 @@ def properties(self, properties: "GsaQueryTableProperties") -> None:
self._properties = properties
@property
- def filter(self) -> "GsaQueryTableFilter | Unset_Type":
- """Gets the filter of this GsaQueryTablesRequest.
+ def filter_(self) -> "GsaQueryTableFilter | Unset_Type":
+ """Gets the filter_ of this GsaQueryTablesRequest.
Returns
-------
GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ The filter_ of this GsaQueryTablesRequest.
"""
- return self._filter
+ return self._filter_
- @filter.setter
- def filter(self, filter: "GsaQueryTableFilter | Unset_Type") -> None:
- """Sets the filter of this GsaQueryTablesRequest.
+ @filter_.setter
+ def filter_(self, filter_: "GsaQueryTableFilter | Unset_Type") -> None:
+ """Sets the filter_ of this GsaQueryTablesRequest.
Parameters
----------
- filter: GsaQueryTableFilter | Unset_Type
- The filter of this GsaQueryTablesRequest.
+ filter_: GsaQueryTableFilter | Unset_Type
+ The filter_ of this GsaQueryTablesRequest.
"""
# Field is not nullable
- if filter is None:
- raise ValueError("Invalid value for 'filter', must not be 'None'")
- self._filter = filter
+ if filter_ is None:
+ raise ValueError("Invalid value for 'filter_', must not be 'None'")
+ self._filter_ = filter_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_aggregation_datum_criterion.py
index 89f3e5639..a14811849 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_aggregation_datum_criterion.py
@@ -68,11 +68,11 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -82,15 +82,15 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGE,
) -> None:
"""GsaRangeAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_attribute.py
index 17b0ea9ed..8bb54d523 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_attribute.py
@@ -72,7 +72,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -88,7 +88,7 @@ class GsaRangeAttribute(GsaAttribute):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -112,7 +112,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -130,7 +130,7 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -145,7 +145,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_chart_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_chart_data.py
index bf798d6d7..a42e5ceed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_chart_data.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_chart_data.py
@@ -66,7 +66,7 @@ class GsaRangeChartData(GsaChartData):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaChartDataType",
+ "type_": "GsaChartDataType",
"bubble_axis_value": "GsaDataExportRange",
"estimated": "bool",
"high_value": "float",
@@ -75,7 +75,7 @@ class GsaRangeChartData(GsaChartData):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"bubble_axis_value": "bubbleAxisValue",
"estimated": "estimated",
"high_value": "highValue",
@@ -90,7 +90,7 @@ class GsaRangeChartData(GsaChartData):
def __init__(
self,
*,
- type: "GsaChartDataType" = GsaChartDataType.RANGE,
+ type_: "GsaChartDataType" = GsaChartDataType.RANGE,
bubble_axis_value: "GsaDataExportRange | Unset_Type" = Unset,
estimated: "bool | Unset_Type" = Unset,
high_value: "float | Unset_Type" = Unset,
@@ -101,7 +101,7 @@ def __init__(
Parameters
----------
- type: GsaChartDataType
+ type_: GsaChartDataType
bubble_axis_value: GsaDataExportRange, optional
estimated: bool, optional
high_value: float, optional
@@ -109,7 +109,9 @@ def __init__(
record_version_guid: str, optional
"""
super().__init__(
- type=type, bubble_axis_value=bubble_axis_value, record_version_guid=record_version_guid
+ type_=type_,
+ bubble_axis_value=bubble_axis_value,
+ record_version_guid=record_version_guid,
)
self._low_value: float | Unset_Type = Unset
self._high_value: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_criterion.py
index deb9c9265..b3adf8319 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"gte": "float",
"lte": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"gte": "gte",
"lte": "lte",
}
@@ -86,7 +86,7 @@ class GsaRangeDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.RANGE,
gte: "float | None | Unset_Type" = Unset,
lte: "float | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
gte: float | None, optional
lte: float | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._gte: float | None | Unset_Type = Unset
self._lte: float | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_exists_criterion.py
index b52bac2ad..1ec0419b2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
) -> None:
"""GsaRangeDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
index 6bb8e8809..f11c46722 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"interval": "float",
"offset": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"interval": "interval",
"offset": "offset",
}
@@ -86,7 +86,7 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEFIXEDWIDTHHISTOGRAM,
interval: "float | Unset_Type" = Unset,
offset: "float | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
interval: float, optional
offset: float, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._interval: float | Unset_Type = Unset
self._offset: float | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_histogram_aggregation_datum_criterion.py
index c773d7853..c85006f6c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_histogram_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_range_histogram_aggregation_datum_criterion.py
@@ -68,12 +68,12 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"maximum_number_of_buckets": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"maximum_number_of_buckets": "maximumNumberOfBuckets",
}
@@ -84,17 +84,17 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.RANGEHISTOGRAM,
maximum_number_of_buckets: "int | Unset_Type" = Unset,
) -> None:
"""GsaRangeHistogramAggregationDatumCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
maximum_number_of_buckets: int, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._maximum_number_of_buckets: int | Unset_Type = Unset
if maximum_number_of_buckets is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_criterion.py
index fc1134dd8..b515b5448 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_guid": "ancestorGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTOR,
ancestor_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_history_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_history_criterion.py
index 0147a5489..c1e31c72f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_history_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_ancestor_history_criterion.py
@@ -65,13 +65,13 @@ class GsaRecordAncestorHistoryCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"direct_parent_only": "bool",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"ancestor_history_guid": "str",
}
attribute_map: dict[str, str] = {
"direct_parent_only": "directParentOnly",
- "type": "type",
+ "type_": "type",
"ancestor_history_guid": "ancestorHistoryGuid",
}
@@ -83,7 +83,7 @@ def __init__(
self,
*,
direct_parent_only: "bool",
- type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORHISTORY,
ancestor_history_guid: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordAncestorHistoryCriterion - a model defined in Swagger
@@ -91,10 +91,10 @@ def __init__(
Parameters
----------
direct_parent_only: bool
- type: GsaCriterionType
+ type_: GsaCriterionType
ancestor_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._ancestor_history_guid: str | None | Unset_Type = Unset
self._direct_parent_only: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_export_failure.py
index 3105e9321..00278cb1f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_export_failure.py
@@ -71,14 +71,14 @@ class GsaRecordExportFailure(GsaExportFailure):
"failed_records": "list[GsaRecordReference]",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_records": "failedRecords",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_records: "list[GsaRecordReference]",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.RECORD,
+ type_: "GsaExportFailureType" = GsaExportFailureType.RECORD,
) -> None:
"""GsaRecordExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_records: list[GsaRecordReference]
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_records: list[GsaRecordReference]
self.failed_records = failed_records
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link.py
index d2fa5491f..f4a940c7e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link.py
@@ -72,7 +72,7 @@ class GsaRecordLink(GsaLink):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaRecordLink(GsaLink):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -100,7 +100,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.RECORDLINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.RECORDLINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordLink - a model defined in Swagger
@@ -113,7 +113,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -122,7 +122,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._include_indirect_links: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_create_put_layout_item.py
index 60cba5239..1d9f89333 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_create_put_layout_item.py
@@ -71,14 +71,14 @@ class GsaRecordLinkCreatePutLayoutItem(GsaCreatePutLayoutItem):
swagger_types: dict[str, str] = {
"item_type": "GsaNewLayoutItemType",
"link_group_guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"forwards": "bool",
}
attribute_map: dict[str, str] = {
"item_type": "itemType",
"link_group_guid": "linkGroupGuid",
- "type": "type",
+ "type_": "type",
"forwards": "forwards",
}
@@ -91,7 +91,7 @@ def __init__(
*,
item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.RECORDLINK,
link_group_guid: "str",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
forwards: "bool | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordLinkCreatePutLayoutItem - a model defined in Swagger
@@ -100,10 +100,10 @@ def __init__(
----------
item_type: GsaNewLayoutItemType
link_group_guid: str
- type: GsaPutType
+ type_: GsaPutType
forwards: bool | None, optional
"""
- super().__init__(item_type=item_type, type=type)
+ super().__init__(item_type=item_type, type_=type_)
self._forwards: bool | None | Unset_Type = Unset
self._link_group_guid: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_group.py
index e6e5e3c45..f2d78479a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_link_group.py
@@ -68,7 +68,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -79,7 +79,7 @@ class GsaRecordLinkGroup(ModelBase):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -105,7 +105,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,13 +118,13 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._link_info: GsaLinkInfo
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -134,7 +134,7 @@ def __init__(
self.link_info = link_info
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -193,32 +193,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ The type_ of this GsaRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_member_criterion.py
index 1e2288c97..59a6193af 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_member_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_member_criterion.py
@@ -64,12 +64,12 @@ class GsaRecordListMemberCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"record_list_identifiers": "list[str]",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"record_list_identifiers": "recordListIdentifiers",
}
@@ -80,17 +80,17 @@ class GsaRecordListMemberCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER,
record_list_identifiers: "list[str] | None | Unset_Type" = Unset,
) -> None:
"""GsaRecordListMemberCriterion - a model defined in Swagger
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
record_list_identifiers: list[str] | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._record_list_identifiers: list[str] | None | Unset_Type = Unset
if record_list_identifiers is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_search_criterion.py
index bb4456e95..0539605db 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_search_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_list_search_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "str",
+ "type_": "str",
"contains_records": "list[GsaListItemRecordReference]",
"contains_records_in_databases": "list[str]",
"contains_records_in_integration_schemas": "list[str]",
@@ -80,7 +80,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"contains_records": "containsRecords",
"contains_records_in_databases": "containsRecordsInDatabases",
"contains_records_in_integration_schemas": "containsRecordsInIntegrationSchemas",
@@ -104,7 +104,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion):
def __init__(
self,
*,
- type: "str" = "recordList",
+ type_: "str" = "recordList",
contains_records: "list[GsaListItemRecordReference] | None | Unset_Type" = Unset,
contains_records_in_databases: "list[str] | None | Unset_Type" = Unset,
contains_records_in_integration_schemas: "list[str] | None | Unset_Type" = Unset,
@@ -121,7 +121,7 @@ def __init__(
Parameters
----------
- type: str
+ type_: str
contains_records: list[GsaListItemRecordReference] | None, optional
contains_records_in_databases: list[str] | None, optional
contains_records_in_integration_schemas: list[str] | None, optional
@@ -134,7 +134,7 @@ def __init__(
user_can_add_or_remove_items: bool | None, optional
user_role: GsaUserRole, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._name_contains: str | None | Unset_Type = Unset
self._user_role: GsaUserRole | Unset_Type = Unset
self._is_published: bool | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_criterion.py
index a70b1e9a0..3c51da78c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_criterion.py
@@ -65,14 +65,14 @@ class GsaRecordPropertyCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"inner_criterion": "GsaDatumCriterion",
- "type": "GsaCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaCriterionType",
+ "property_": "GsaSearchableRecordProperty",
}
attribute_map: dict[str, str] = {
"inner_criterion": "innerCriterion",
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
}
subtype_mapping: dict[str, str] = {
@@ -86,49 +86,49 @@ def __init__(
self,
*,
inner_criterion: "GsaDatumCriterion",
- type: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaCriterionType" = GsaCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
) -> None:
"""GsaRecordPropertyCriterion - a model defined in Swagger
Parameters
----------
inner_criterion: GsaDatumCriterion
- type: GsaCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaCriterionType
+ property_: GsaSearchableRecordProperty, optional
"""
- super().__init__(type=type)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._inner_criterion: GsaDatumCriterion
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
self.inner_criterion = inner_criterion
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertyCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertyCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ The property_ of this GsaRecordPropertyCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertyCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertyCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertyCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertyCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def inner_criterion(self) -> "GsaDatumCriterion":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_sort_criterion.py
index bec0a35af..581ba59c8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_property_sort_criterion.py
@@ -68,15 +68,15 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
- "_property": "GsaSearchableRecordProperty",
+ "type_": "GsaSortCriterionType",
+ "property_": "GsaSearchableRecordProperty",
"sort_direction": "GsaSortDirection",
"sort_type": "GsaSortType",
}
attribute_map: dict[str, str] = {
- "type": "type",
- "_property": "property",
+ "type_": "type",
+ "property_": "property",
"sort_direction": "sortDirection",
"sort_type": "sortType",
}
@@ -91,8 +91,8 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
- _property: "GsaSearchableRecordProperty | Unset_Type" = Unset,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RECORDPROPERTY,
+ property_: "GsaSearchableRecordProperty | Unset_Type" = Unset,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
sort_type: "GsaSortType | Unset_Type" = Unset,
) -> None:
@@ -100,44 +100,44 @@ def __init__(
Parameters
----------
- type: GsaSortCriterionType
- _property: GsaSearchableRecordProperty, optional
+ type_: GsaSortCriterionType
+ property_: GsaSearchableRecordProperty, optional
sort_direction: GsaSortDirection, optional
sort_type: GsaSortType, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
- self.__property: GsaSearchableRecordProperty | Unset_Type = Unset
+ super().__init__(type_=type_, sort_direction=sort_direction)
+ self._property_: GsaSearchableRecordProperty | Unset_Type = Unset
self._sort_type: GsaSortType | Unset_Type = Unset
- if _property is not Unset:
- self._property = _property
+ if property_ is not Unset:
+ self.property_ = property_
if sort_type is not Unset:
self.sort_type = sort_type
@property
- def _property(self) -> "GsaSearchableRecordProperty | Unset_Type":
- """Gets the _property of this GsaRecordPropertySortCriterion.
+ def property_(self) -> "GsaSearchableRecordProperty | Unset_Type":
+ """Gets the property_ of this GsaRecordPropertySortCriterion.
Returns
-------
GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ The property_ of this GsaRecordPropertySortCriterion.
"""
- return self.__property
+ return self._property_
- @_property.setter
- def _property(self, _property: "GsaSearchableRecordProperty | Unset_Type") -> None:
- """Sets the _property of this GsaRecordPropertySortCriterion.
+ @property_.setter
+ def property_(self, property_: "GsaSearchableRecordProperty | Unset_Type") -> None:
+ """Sets the property_ of this GsaRecordPropertySortCriterion.
Parameters
----------
- _property: GsaSearchableRecordProperty | Unset_Type
- The _property of this GsaRecordPropertySortCriterion.
+ property_: GsaSearchableRecordProperty | Unset_Type
+ The property_ of this GsaRecordPropertySortCriterion.
"""
# Field is not nullable
- if _property is None:
- raise ValueError("Invalid value for '_property', must not be 'None'")
- self.__property = _property
+ if property_ is None:
+ raise ValueError("Invalid value for 'property_', must not be 'None'")
+ self._property_ = property_
@property
def sort_type(self) -> "GsaSortType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_reference_criterion.py
index 4d097e941..c706c44a8 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_reference_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_reference_criterion.py
@@ -65,7 +65,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
"""
swagger_types: dict[str, str] = {
"database_key": "str",
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"any_record_guids": "list[str]",
"any_record_history_guids": "list[str]",
"record_guid": "str",
@@ -74,7 +74,7 @@ class GsaRecordReferenceCriterion(GsaCriterion):
attribute_map: dict[str, str] = {
"database_key": "databaseKey",
- "type": "type",
+ "type_": "type",
"any_record_guids": "anyRecordGuids",
"any_record_history_guids": "anyRecordHistoryGuids",
"record_guid": "recordGuid",
@@ -89,7 +89,7 @@ def __init__(
self,
*,
database_key: "str",
- type: "GsaCriterionType" = GsaCriterionType.REFERENCE,
+ type_: "GsaCriterionType" = GsaCriterionType.REFERENCE,
any_record_guids: "list[str] | None | Unset_Type" = Unset,
any_record_history_guids: "list[str] | None | Unset_Type" = Unset,
record_guid: "str | None | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
database_key: str
- type: GsaCriterionType
+ type_: GsaCriterionType
any_record_guids: list[str] | None, optional
any_record_history_guids: list[str] | None, optional
record_guid: str | None, optional
record_history_guid: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._database_key: str
self._record_guid: str | None | Unset_Type = Unset
self._record_history_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_subset_criterion.py
index 433dba6ea..c6b2e16a2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_subset_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_record_subset_criterion.py
@@ -64,13 +64,13 @@ class GsaRecordSubsetCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"subset_guid": "str",
"subset_identity": "int",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"subset_guid": "subsetGuid",
"subset_identity": "subsetIdentity",
}
@@ -82,7 +82,7 @@ class GsaRecordSubsetCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.SUBSET,
+ type_: "GsaCriterionType" = GsaCriterionType.SUBSET,
subset_guid: "str | None | Unset_Type" = Unset,
subset_identity: "int | None | Unset_Type" = Unset,
) -> None:
@@ -90,11 +90,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
subset_guid: str | None, optional
subset_identity: int | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._subset_identity: int | None | Unset_Type = Unset
self._subset_guid: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_relevance_sort_criterion.py
index b42d7ce09..04c6ecd68 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_relevance_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_relevance_sort_criterion.py
@@ -68,12 +68,12 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -84,17 +84,17 @@ class GsaRelevanceSortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.RELEVANCE,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaRelevanceSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rich_text_value.py
index dda192d83..c9064965c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rich_text_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rich_text_value.py
@@ -62,12 +62,12 @@ class GsaRichTextValue(ModelBase):
"""
swagger_types: dict[str, str] = {
"text": "str",
- "type": "GsaRichTextType",
+ "type_": "GsaRichTextType",
}
attribute_map: dict[str, str] = {
"text": "text",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -80,20 +80,20 @@ def __init__(
self,
*,
text: "str",
- type: "GsaRichTextType",
+ type_: "GsaRichTextType",
) -> None:
"""GsaRichTextValue - a model defined in Swagger
Parameters
----------
text: str
- type: GsaRichTextType
+ type_: GsaRichTextType
"""
self._text: str
- self._type: GsaRichTextType
+ self._type_: GsaRichTextType
self.text = text
- self.type = type
+ self.type_ = type_
@property
def text(self) -> "str":
@@ -124,32 +124,32 @@ def text(self, text: "str") -> None:
self._text = text
@property
- def type(self) -> "GsaRichTextType":
- """Gets the type of this GsaRichTextValue.
+ def type_(self) -> "GsaRichTextType":
+ """Gets the type_ of this GsaRichTextValue.
Returns
-------
GsaRichTextType
- The type of this GsaRichTextValue.
+ The type_ of this GsaRichTextValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRichTextType") -> None:
- """Sets the type of this GsaRichTextValue.
+ @type_.setter
+ def type_(self, type_: "GsaRichTextType") -> None:
+ """Sets the type_ of this GsaRichTextValue.
Parameters
----------
- type: GsaRichTextType
- The type of this GsaRichTextValue.
+ type_: GsaRichTextType
+ The type_ of this GsaRichTextValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rollup_export_failure.py
index 7e09d5422..7069d19db 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rollup_export_failure.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_rollup_export_failure.py
@@ -71,14 +71,14 @@ class GsaRollupExportFailure(GsaExportFailure):
"failed_rollup": "GsaRollupReference",
"failure_details": "str",
"failure_reason": "str",
- "type": "GsaExportFailureType",
+ "type_": "GsaExportFailureType",
}
attribute_map: dict[str, str] = {
"failed_rollup": "failedRollup",
"failure_details": "failureDetails",
"failure_reason": "failureReason",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -93,7 +93,7 @@ def __init__(
failed_rollup: "GsaRollupReference",
failure_details: "str",
failure_reason: "str",
- type: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
+ type_: "GsaExportFailureType" = GsaExportFailureType.ROLLUP,
) -> None:
"""GsaRollupExportFailure - a model defined in Swagger
@@ -102,9 +102,11 @@ def __init__(
failed_rollup: GsaRollupReference
failure_details: str
failure_reason: str
- type: GsaExportFailureType
+ type_: GsaExportFailureType
"""
- super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type)
+ super().__init__(
+ failure_details=failure_details, failure_reason=failure_reason, type_=type_
+ )
self._failed_rollup: GsaRollupReference
self.failed_rollup = failed_rollup
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_search_result.py
index 4473f20f0..54176cfd2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_search_result.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_search_result.py
@@ -74,7 +74,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "str",
"table_identity": "int",
"tree_name": "str",
- "type": "GsaRecordType",
+ "type_": "GsaRecordType",
"version_control_state": "str",
"version_number": "int",
}
@@ -93,7 +93,7 @@ class GsaSearchResult(ModelBase):
"table_guid": "tableGuid",
"table_identity": "tableIdentity",
"tree_name": "treeName",
- "type": "type",
+ "type_": "type",
"version_control_state": "versionControlState",
"version_number": "versionNumber",
}
@@ -121,7 +121,7 @@ def __init__(
table_guid: "str | Unset_Type" = Unset,
table_identity: "int | Unset_Type" = Unset,
tree_name: "str | None | Unset_Type" = Unset,
- type: "GsaRecordType | Unset_Type" = Unset,
+ type_: "GsaRecordType | Unset_Type" = Unset,
version_control_state: "str | None | Unset_Type" = Unset,
version_number: "int | Unset_Type" = Unset,
) -> None:
@@ -142,7 +142,7 @@ def __init__(
table_guid: str, optional
table_identity: int, optional
tree_name: str | None, optional
- type: GsaRecordType, optional
+ type_: GsaRecordType, optional
version_control_state: str | None, optional
version_number: int, optional
"""
@@ -158,7 +158,7 @@ def __init__(
self._version_control_state: str | None | Unset_Type = Unset
self._version_number: int | Unset_Type = Unset
self._parent_guid: str | None | Unset_Type = Unset
- self._type: GsaRecordType | Unset_Type = Unset
+ self._type_: GsaRecordType | Unset_Type = Unset
self._score: float | None | Unset_Type = Unset
self._similarity_score: float | None | Unset_Type = Unset
self._sorting_value: GsaSortingValue | Unset_Type = Unset
@@ -186,8 +186,8 @@ def __init__(
self.version_number = version_number
if parent_guid is not Unset:
self.parent_guid = parent_guid
- if type is not Unset:
- self.type = type
+ if type_ is not Unset:
+ self.type_ = type_
if score is not Unset:
self.score = score
if similarity_score is not Unset:
@@ -481,29 +481,29 @@ def parent_guid(self, parent_guid: "str | None | Unset_Type") -> None:
self._parent_guid = parent_guid
@property
- def type(self) -> "GsaRecordType | Unset_Type":
- """Gets the type of this GsaSearchResult.
+ def type_(self) -> "GsaRecordType | Unset_Type":
+ """Gets the type_ of this GsaSearchResult.
Returns
-------
GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ The type_ of this GsaSearchResult.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordType | Unset_Type") -> None:
- """Sets the type of this GsaSearchResult.
+ @type_.setter
+ def type_(self, type_: "GsaRecordType | Unset_Type") -> None:
+ """Sets the type_ of this GsaSearchResult.
Parameters
----------
- type: GsaRecordType | Unset_Type
- The type of this GsaSearchResult.
+ type_: GsaRecordType | Unset_Type
+ The type_ of this GsaSearchResult.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
- self._type = type
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
+ self._type_ = type_
@property
def score(self) -> "float | None | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_aggregation_datum_criterion.py
index 3918eca8f..194650197 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_aggregation_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_aggregation_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAggregationDatumCriterionType",
+ "type_": "GsaAggregationDatumCriterionType",
"number_of_terms": "int",
"prefix": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"number_of_terms": "numberOfTerms",
"prefix": "prefix",
}
@@ -86,7 +86,7 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion):
def __init__(
self,
*,
- type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
+ type_: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.SHORTTEXT,
number_of_terms: "int | Unset_Type" = Unset,
prefix: "str | None | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaAggregationDatumCriterionType
+ type_: GsaAggregationDatumCriterionType
number_of_terms: int, optional
prefix: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._number_of_terms: int | Unset_Type = Unset
self._prefix: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_attribute.py
index 1813d809f..d26d4ed68 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_attribute.py
@@ -73,7 +73,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"data_rule": "GsaSlimNamedEntity",
@@ -90,7 +90,7 @@ class GsaShortTextAttribute(GsaAttribute):
"is_unique": "isUnique",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"data_rule": "dataRule",
@@ -115,7 +115,7 @@ def __init__(
is_unique: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
data_rule: "GsaSlimNamedEntity | Unset_Type" = Unset,
@@ -134,7 +134,7 @@ def __init__(
is_unique: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
data_rule: GsaSlimNamedEntity, optional
@@ -149,7 +149,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_criterion.py
index abde781ef..c7e59938e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_criterion.py
@@ -68,13 +68,13 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
"value": "str",
"text_match_behavior": "GsaTextMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
"text_match_behavior": "textMatchBehavior",
}
@@ -88,7 +88,7 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion):
def __init__(
self,
*,
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXT,
value: "str",
text_match_behavior: "GsaTextMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -96,11 +96,11 @@ def __init__(
Parameters
----------
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
value: str
text_match_behavior: GsaTextMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str
self._text_match_behavior: GsaTextMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_exists_criterion.py
index 2b6d234f6..cc91142c1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
) -> None:
"""GsaShortTextDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_prefix_datum_criterion.py
index 503446de2..d0124f149 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_prefix_datum_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_short_text_prefix_datum_criterion.py
@@ -69,12 +69,12 @@ class GsaShortTextPrefixDatumCriterion(GsaDatumCriterion):
"""
swagger_types: dict[str, str] = {
"prefix": "str",
- "type": "GsaDatumCriterionType",
+ "type_": "GsaDatumCriterionType",
}
attribute_map: dict[str, str] = {
"prefix": "prefix",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -85,16 +85,16 @@ def __init__(
self,
*,
prefix: "str",
- type: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
+ type_: "GsaDatumCriterionType" = GsaDatumCriterionType.SHORTTEXTPREFIX,
) -> None:
"""GsaShortTextPrefixDatumCriterion - a model defined in Swagger
Parameters
----------
prefix: str
- type: GsaDatumCriterionType
+ type_: GsaDatumCriterionType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._prefix: str
self.prefix = prefix
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_similarity_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_similarity_sort_criterion.py
index 6dc604082..711f6e911 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_similarity_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_similarity_sort_criterion.py
@@ -68,12 +68,12 @@ class GsaSimilaritySortCriterion(GsaSortCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -84,17 +84,17 @@ class GsaSimilaritySortCriterion(GsaSortCriterion):
def __init__(
self,
*,
- type: "GsaSortCriterionType" = GsaSortCriterionType.SIMILARITY,
+ type_: "GsaSortCriterionType" = GsaSortCriterionType.SIMILARITY,
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaSimilaritySortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
- super().__init__(type=type, sort_direction=sort_direction)
+ super().__init__(type_=type_, sort_direction=sort_direction)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute.py
index 713fb8643..22e2a6867 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute.py
@@ -67,7 +67,7 @@ class GsaSlimAttribute(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
}
@@ -78,7 +78,7 @@ class GsaSlimAttribute(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
}
@@ -99,7 +99,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
) -> None:
"""GsaSlimAttribute - a model defined in Swagger
@@ -112,10 +112,10 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -124,7 +124,7 @@ def __init__(
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -135,32 +135,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttribute.
+ The type_ of this GsaSlimAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute_with_help_path.py
index a63287100..693765f43 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute_with_help_path.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_attribute_with_help_path.py
@@ -67,7 +67,7 @@ class GsaSlimAttributeWithHelpPath(ModelBase):
"is_protected": "bool",
"name": "str",
"table": "GsaSlimEntity",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"help_path": "str",
}
@@ -79,7 +79,7 @@ class GsaSlimAttributeWithHelpPath(ModelBase):
"is_protected": "isProtected",
"name": "name",
"table": "table",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"help_path": "helpPath",
}
@@ -101,7 +101,7 @@ def __init__(
is_protected: "bool",
name: "str",
table: "GsaSlimEntity",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
) -> None:
@@ -115,12 +115,12 @@ def __init__(
is_protected: bool
name: str
table: GsaSlimEntity
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
help_path: str | None, optional
"""
self._help_path: str | None | Unset_Type = Unset
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset
self._is_hidden_from_search_criteria: bool
self._is_protected: bool
@@ -131,7 +131,7 @@ def __init__(
if help_path is not Unset:
self.help_path = help_path
- self.type = type
+ self.type_ = type_
if about_attribute is not Unset:
self.about_attribute = about_attribute
self.is_hidden_from_search_criteria = is_hidden_from_search_criteria
@@ -164,32 +164,32 @@ def help_path(self, help_path: "str | None | Unset_Type") -> None:
self._help_path = help_path
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimAttributeWithHelpPath.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimAttributeWithHelpPath.
Returns
-------
GsaAttributeType
- The type of this GsaSlimAttributeWithHelpPath.
+ The type_ of this GsaSlimAttributeWithHelpPath.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimAttributeWithHelpPath.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimAttributeWithHelpPath.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimAttributeWithHelpPath.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimAttributeWithHelpPath.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter.py
index 5d9985c3f..20f50285c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter.py
@@ -64,14 +64,14 @@ class GsaSlimParameter(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaSlimParameter - a model defined in Swagger
@@ -95,45 +95,45 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameter.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameter.
+ The type_ of this GsaSlimParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameter.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter_with_help_path.py
index 39b9086d9..0495e3462 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter_with_help_path.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_parameter_with_help_path.py
@@ -64,7 +64,7 @@ class GsaSlimParameterWithHelpPath(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"help_path": "str",
}
@@ -72,7 +72,7 @@ class GsaSlimParameterWithHelpPath(ModelBase):
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
"help_path": "helpPath",
}
@@ -88,7 +88,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
help_path: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaSlimParameterWithHelpPath - a model defined in Swagger
@@ -98,18 +98,18 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaParameterType
+ type_: GsaParameterType
help_path: str | None, optional
"""
self._help_path: str | None | Unset_Type = Unset
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._display_names: dict[str, str]
self._name: str
self._guid: str
if help_path is not Unset:
self.help_path = help_path
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@@ -137,32 +137,32 @@ def help_path(self, help_path: "str | None | Unset_Type") -> None:
self._help_path = help_path
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaSlimParameterWithHelpPath.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaSlimParameterWithHelpPath.
Returns
-------
GsaParameterType
- The type of this GsaSlimParameterWithHelpPath.
+ The type_ of this GsaSlimParameterWithHelpPath.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaSlimParameterWithHelpPath.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaSlimParameterWithHelpPath.
Parameters
----------
- type: GsaParameterType
- The type of this GsaSlimParameterWithHelpPath.
+ type_: GsaParameterType
+ The type_ of this GsaSlimParameterWithHelpPath.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_record_link_group.py
index 161dfb7ca..4c7d6d0b3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_record_link_group.py
@@ -65,7 +65,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "str",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -75,7 +75,7 @@ class GsaSlimRecordLinkGroup(ModelBase):
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -93,7 +93,7 @@ def __init__(
guid: "str",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -105,12 +105,12 @@ def __init__(
guid: str
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
self._identity: int | None | Unset_Type = Unset
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str
self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset
self._display_names: dict[str, str]
@@ -119,7 +119,7 @@ def __init__(
if identity is not Unset:
self.identity = identity
- self.type = type
+ self.type_ = type_
self.reverse_name = reverse_name
if reverse_display_names is not Unset:
self.reverse_display_names = reverse_display_names
@@ -150,32 +150,32 @@ def identity(self, identity: "int | None | Unset_Type") -> None:
self._identity = identity
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaSlimRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaSlimRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ The type_ of this GsaSlimRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaSlimRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaSlimRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaSlimRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaSlimRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_typed_attribute.py
index ce23a029b..30826a82b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_typed_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_slim_typed_attribute.py
@@ -64,14 +64,14 @@ class GsaSlimTypedAttribute(ModelBase):
"display_names": "dict(str, str)",
"guid": "str",
"name": "str",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
"display_names": "displayNames",
"guid": "guid",
"name": "name",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -86,7 +86,7 @@ def __init__(
display_names: "dict[str, str]",
guid: "str",
name: "str",
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
) -> None:
"""GsaSlimTypedAttribute - a model defined in Swagger
@@ -95,45 +95,45 @@ def __init__(
display_names: dict[str, str]
guid: str
name: str
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._display_names: dict[str, str]
self._name: str
self._guid: str
- self.type = type
+ self.type_ = type_
self.display_names = display_names
self.name = name
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaSlimTypedAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaSlimTypedAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ The type_ of this GsaSlimTypedAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaSlimTypedAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaSlimTypedAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaSlimTypedAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaSlimTypedAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def display_names(self) -> "dict[str, str]":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link.py
index e162a41b4..6804729f1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link.py
@@ -74,7 +74,7 @@ class GsaSmartLink(GsaLink):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -87,7 +87,7 @@ class GsaSmartLink(GsaLink):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -109,7 +109,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.SMARTLINK,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.SMARTLINK,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaSmartLink - a model defined in Swagger
@@ -124,7 +124,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -133,7 +133,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._forbid_orphans: bool
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link_create_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link_create_put_layout_item.py
index 66db797fb..b0f419cb6 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link_create_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_link_create_put_layout_item.py
@@ -71,14 +71,14 @@ class GsaSmartLinkCreatePutLayoutItem(GsaCreatePutLayoutItem):
swagger_types: dict[str, str] = {
"item_type": "GsaNewLayoutItemType",
"link_group_guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"forwards": "bool",
}
attribute_map: dict[str, str] = {
"item_type": "itemType",
"link_group_guid": "linkGroupGuid",
- "type": "type",
+ "type_": "type",
"forwards": "forwards",
}
@@ -91,7 +91,7 @@ def __init__(
*,
item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.SMARTLINK,
link_group_guid: "str",
- type: "GsaPutType" = GsaPutType.CREATE,
+ type_: "GsaPutType" = GsaPutType.CREATE,
forwards: "bool | Unset_Type" = Unset,
) -> None:
"""GsaSmartLinkCreatePutLayoutItem - a model defined in Swagger
@@ -100,10 +100,10 @@ def __init__(
----------
item_type: GsaNewLayoutItemType
link_group_guid: str
- type: GsaPutType
+ type_: GsaPutType
forwards: bool, optional
"""
- super().__init__(item_type=item_type, type=type)
+ super().__init__(item_type=item_type, type_=type_)
self._forwards: bool | Unset_Type = Unset
self._link_group_guid: str
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_record_link_group.py
index ba3934b77..54bc408d0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_smart_record_link_group.py
@@ -76,7 +76,7 @@ class GsaSmartRecordLinkGroup(GsaRecordLinkGroup):
"name": "str",
"referential_integrity_model": "GsaReferentialIntegrityModel",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -90,7 +90,7 @@ class GsaSmartRecordLinkGroup(GsaRecordLinkGroup):
"name": "name",
"referential_integrity_model": "referentialIntegrityModel",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -113,7 +113,7 @@ def __init__(
name: "str",
referential_integrity_model: "GsaReferentialIntegrityModel",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -129,7 +129,7 @@ def __init__(
name: str
referential_integrity_model: GsaReferentialIntegrityModel
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -139,7 +139,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sort_criterion.py
index 3b4ceab7b..3114b9417 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sort_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sort_criterion.py
@@ -63,12 +63,12 @@ class GsaSortCriterion(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortCriterionType",
+ "type_": "GsaSortCriterionType",
"sort_direction": "GsaSortDirection",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"sort_direction": "sortDirection",
}
@@ -89,22 +89,22 @@ class GsaSortCriterion(ModelBase):
def __init__(
self,
*,
- type: "GsaSortCriterionType",
+ type_: "GsaSortCriterionType",
sort_direction: "GsaSortDirection | Unset_Type" = Unset,
) -> None:
"""GsaSortCriterion - a model defined in Swagger
Parameters
----------
- type: GsaSortCriterionType
+ type_: GsaSortCriterionType
sort_direction: GsaSortDirection, optional
"""
self._sort_direction: GsaSortDirection | Unset_Type = Unset
- self._type: GsaSortCriterionType
+ self._type_: GsaSortCriterionType
if sort_direction is not Unset:
self.sort_direction = sort_direction
- self.type = type
+ self.type_ = type_
@property
def sort_direction(self) -> "GsaSortDirection | Unset_Type":
@@ -132,32 +132,32 @@ def sort_direction(self, sort_direction: "GsaSortDirection | Unset_Type") -> Non
self._sort_direction = sort_direction
@property
- def type(self) -> "GsaSortCriterionType":
- """Gets the type of this GsaSortCriterion.
+ def type_(self) -> "GsaSortCriterionType":
+ """Gets the type_ of this GsaSortCriterion.
Returns
-------
GsaSortCriterionType
- The type of this GsaSortCriterion.
+ The type_ of this GsaSortCriterion.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortCriterionType") -> None:
- """Sets the type of this GsaSortCriterion.
+ @type_.setter
+ def type_(self, type_: "GsaSortCriterionType") -> None:
+ """Sets the type_ of this GsaSortCriterion.
Parameters
----------
- type: GsaSortCriterionType
- The type of this GsaSortCriterion.
+ type_: GsaSortCriterionType
+ The type_ of this GsaSortCriterion.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sorting_value.py
index 70a059090..5dc7d0685 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_sorting_value.py
@@ -63,11 +63,11 @@ class GsaSortingValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -85,45 +85,45 @@ class GsaSortingValue(ModelBase):
def __init__(
self,
*,
- type: "GsaSortingValueType",
+ type_: "GsaSortingValueType",
) -> None:
"""GsaSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
"""
- self._type: GsaSortingValueType
+ self._type_: GsaSortingValueType
- self.type = type
+ self.type_ = type_
@property
- def type(self) -> "GsaSortingValueType":
- """Gets the type of this GsaSortingValue.
+ def type_(self) -> "GsaSortingValueType":
+ """Gets the type_ of this GsaSortingValue.
Returns
-------
GsaSortingValueType
- The type of this GsaSortingValue.
+ The type_ of this GsaSortingValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaSortingValueType") -> None:
- """Sets the type of this GsaSortingValue.
+ @type_.setter
+ def type_(self, type_: "GsaSortingValueType") -> None:
+ """Sets the type_ of this GsaSortingValue.
Parameters
----------
- type: GsaSortingValueType
- The type of this GsaSortingValue.
+ type_: GsaSortingValueType
+ The type_ of this GsaSortingValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_static_record_link_group.py
index f5cb4b91c..0d4eb8c37 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_static_record_link_group.py
@@ -74,7 +74,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "GsaLinkInfo",
"name": "str",
"reverse_name": "str",
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"identity": "int",
"reverse_display_names": "dict(str, str)",
}
@@ -86,7 +86,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup):
"link_info": "linkInfo",
"name": "name",
"reverse_name": "reverseName",
- "type": "type",
+ "type_": "type",
"identity": "identity",
"reverse_display_names": "reverseDisplayNames",
}
@@ -104,7 +104,7 @@ def __init__(
link_info: "GsaLinkInfo",
name: "str",
reverse_name: "str",
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
identity: "int | None | Unset_Type" = Unset,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
@@ -118,7 +118,7 @@ def __init__(
link_info: GsaLinkInfo
name: str
reverse_name: str
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
identity: int | None, optional
reverse_display_names: dict[str, str] | None, optional
"""
@@ -128,7 +128,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
identity=identity,
reverse_display_names=reverse_display_names,
)
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_string_sorting_value.py
index fa5bd7b74..236e1d2a2 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_string_sorting_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_string_sorting_value.py
@@ -68,12 +68,12 @@ class GsaStringSortingValue(GsaSortingValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaSortingValueType",
+ "type_": "GsaSortingValueType",
"value": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"value": "value",
}
@@ -84,17 +84,17 @@ class GsaStringSortingValue(GsaSortingValue):
def __init__(
self,
*,
- type: "GsaSortingValueType" = GsaSortingValueType.TEXT,
+ type_: "GsaSortingValueType" = GsaSortingValueType.TEXT,
value: "str | None | Unset_Type" = Unset,
) -> None:
"""GsaStringSortingValue - a model defined in Swagger
Parameters
----------
- type: GsaSortingValueType
+ type_: GsaSortingValueType
value: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._value: str | None | Unset_Type = Unset
if value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute.py
index ccf7dcd36..fd06a93de 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute.py
@@ -76,7 +76,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "str",
"table": "GsaSlimEntity",
"tabular_columns": "list[GsaTabularColumn]",
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimTypedAttribute",
"axis_name": "GsaAxisName",
"help_path": "str",
@@ -96,7 +96,7 @@ class GsaTabularAttribute(GsaAttribute):
"name": "name",
"table": "table",
"tabular_columns": "tabularColumns",
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"help_path": "helpPath",
@@ -125,7 +125,7 @@ def __init__(
name: "str",
table: "GsaSlimEntity",
tabular_columns: "list[GsaTabularColumn]",
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset,
axis_name: "GsaAxisName | Unset_Type" = Unset,
help_path: "str | None | Unset_Type" = Unset,
@@ -147,7 +147,7 @@ def __init__(
name: str
table: GsaSlimEntity
tabular_columns: list[GsaTabularColumn]
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimTypedAttribute, optional
axis_name: GsaAxisName, optional
help_path: str | None, optional
@@ -162,7 +162,7 @@ def __init__(
is_protected=is_protected,
name=name,
table=table,
- type=type,
+ type_=type_,
about_attribute=about_attribute,
axis_name=axis_name,
help_path=help_path,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute_link.py
index daba7213d..775f6f0e7 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute_link.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_attribute_link.py
@@ -72,7 +72,7 @@ class GsaTabularAttributeLink(GsaLink):
"name": "str",
"reverse_name": "str",
"target_attribute": "GsaSlimEntity",
- "type": "GsaLinkAttributeType",
+ "type_": "GsaLinkAttributeType",
"reverse_display_names": "dict(str, str)",
}
@@ -83,7 +83,7 @@ class GsaTabularAttributeLink(GsaLink):
"name": "name",
"reverse_name": "reverseName",
"target_attribute": "targetAttribute",
- "type": "type",
+ "type_": "type",
"reverse_display_names": "reverseDisplayNames",
}
@@ -102,7 +102,7 @@ def __init__(
name: "str",
reverse_name: "str",
target_attribute: "GsaSlimEntity",
- type: "GsaLinkAttributeType" = GsaLinkAttributeType.TABULARATTRIBUTE,
+ type_: "GsaLinkAttributeType" = GsaLinkAttributeType.TABULARATTRIBUTE,
reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset,
) -> None:
"""GsaTabularAttributeLink - a model defined in Swagger
@@ -115,7 +115,7 @@ def __init__(
name: str
reverse_name: str
target_attribute: GsaSlimEntity
- type: GsaLinkAttributeType
+ type_: GsaLinkAttributeType
reverse_display_names: dict[str, str] | None, optional
"""
super().__init__(
@@ -124,7 +124,7 @@ def __init__(
link_info=link_info,
name=name,
reverse_name=reverse_name,
- type=type,
+ type_=type_,
reverse_display_names=reverse_display_names,
)
self._target_attribute: GsaSlimEntity
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_datum_exists_criterion.py
index a42f70d08..8cd8de311 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_datum_exists_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_datum_exists_criterion.py
@@ -66,11 +66,11 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -80,15 +80,15 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.TABULAR,
+ type_: "GsaAttributeType" = GsaAttributeType.TABULAR,
) -> None:
"""GsaTabularDatumExistsCriterion - a model defined in Swagger
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
@classmethod
def get_real_child_model(cls, data: dict[str, str]) -> str:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_linking_value_criterion.py
index d3a93f847..0d8bb7ae4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_linking_value_criterion.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_tabular_linking_value_criterion.py
@@ -64,13 +64,13 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaCriterionType",
+ "type_": "GsaCriterionType",
"values": "list[str]",
"linking_value_match_behavior": "GsaLinkingValueMatchBehavior",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"values": "values",
"linking_value_match_behavior": "linkingValueMatchBehavior",
}
@@ -84,7 +84,7 @@ class GsaTabularLinkingValueCriterion(GsaCriterion):
def __init__(
self,
*,
- type: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
+ type_: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE,
values: "list[str]",
linking_value_match_behavior: "GsaLinkingValueMatchBehavior | Unset_Type" = Unset,
) -> None:
@@ -92,11 +92,11 @@ def __init__(
Parameters
----------
- type: GsaCriterionType
+ type_: GsaCriterionType
values: list[str]
linking_value_match_behavior: GsaLinkingValueMatchBehavior, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._values: list[str]
self._linking_value_match_behavior: GsaLinkingValueMatchBehavior | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_attribute.py
index ac9c797f2..315930d21 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_attribute.py
@@ -63,7 +63,7 @@ class GsaUpdateAttribute(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -74,7 +74,7 @@ class GsaUpdateAttribute(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -113,7 +113,7 @@ class GsaUpdateAttribute(ModelBase):
def __init__(
self,
*,
- type: "GsaAttributeType",
+ type_: "GsaAttributeType",
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -126,7 +126,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -135,7 +135,7 @@ def __init__(
is_hidden_from_search_criteria: bool | None, optional
name: str, optional
"""
- self._type: GsaAttributeType
+ self._type_: GsaAttributeType
self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset
self._help_path: str | None | Unset_Type = Unset
self._about_attribute: GsaSlimEntity | Unset_Type = Unset
@@ -144,7 +144,7 @@ def __init__(
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_threshold_type is not Unset:
self.default_threshold_type = default_threshold_type
if help_path is not Unset:
@@ -161,32 +161,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaAttributeType":
- """Gets the type of this GsaUpdateAttribute.
+ def type_(self) -> "GsaAttributeType":
+ """Gets the type_ of this GsaUpdateAttribute.
Returns
-------
GsaAttributeType
- The type of this GsaUpdateAttribute.
+ The type_ of this GsaUpdateAttribute.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaAttributeType") -> None:
- """Sets the type of this GsaUpdateAttribute.
+ @type_.setter
+ def type_(self, type_: "GsaAttributeType") -> None:
+ """Sets the type_ of this GsaUpdateAttribute.
Parameters
----------
- type: GsaAttributeType
- The type of this GsaUpdateAttribute.
+ type_: GsaAttributeType
+ The type_ of this GsaUpdateAttribute.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_threshold_type(self) -> "GsaAttributeThresholdType | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_cross_database_record_link_group.py
index 845a07505..612690f7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_cross_database_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_cross_database_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_date_time_attribute.py
index dc2c127d6..a498f3190 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_date_time_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_date_time_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DATETIME,
+ type_: "GsaAttributeType" = GsaAttributeType.DATETIME,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_attribute.py
index 6069426ba..883676f7d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -96,7 +96,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETE,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -110,7 +110,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -121,7 +121,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute.py
index 0b71c86cf..596530ec0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -78,7 +78,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"default_threshold_type": "defaultThresholdType",
@@ -98,7 +98,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateDiscreteFunctionalAttributeParameter] | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -112,7 +112,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -123,7 +123,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
index 2ab358608..58575345b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
index 3dfab1535..148533962 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_numeric_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateDiscreteFunctionalAttributeNumericParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -87,7 +87,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeNumericParameter - a model defined in Swagger
@@ -95,10 +95,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_parameter.py
index d96e75055..2874b3351 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateDiscreteFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateDiscreteFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateDiscreteFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateDiscreteFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter.py
index 9b9e41bc5..ee57baa8e 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -75,7 +75,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -92,7 +92,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -103,7 +103,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
@@ -111,7 +111,7 @@ def __init__(
values: list[GsaUpdateDiscreteParameterValue], optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
default_parameter_value_index=default_parameter_value_index,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_content.py
index d5bebfe52..726193760 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateDiscreteParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateDiscreteRange",
"parameter_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"parameter_value": "parameterValue",
}
@@ -90,7 +90,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
parameter_range: "GsaUpdateDiscreteRange | Unset_Type" = Unset,
parameter_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
@@ -99,11 +99,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateDiscreteRange, optional
parameter_value: GsaSlimEntity, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._parameter_value: GsaSlimEntity | Unset_Type = Unset
self._parameter_range: GsaUpdateDiscreteRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_value.py
index 3efc8e29f..e2c593dd1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_discrete_parameter_value.py
@@ -68,13 +68,13 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
}
@@ -86,7 +86,7 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
+ type_: "GsaParameterValueType" = GsaParameterValueType.DISCRETE,
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
) -> None:
@@ -94,11 +94,11 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._name: str | Unset_Type = Unset
if name is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_file_attribute.py
index b3be3721d..c23480a45 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_file_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_file_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FILE,
+ type_: "GsaAttributeType" = GsaAttributeType.FILE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute.py
index 84f65a659..95b8f1d9f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]",
"axis_name": "GsaUpdateAxisName",
@@ -81,7 +81,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -106,7 +106,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaUpdateFloatFunctionalAttributeParameter] | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional
axis_name: GsaUpdateAxisName, optional
@@ -137,7 +137,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
index 09d4cc9d8..54381635c 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_discrete_parameter.py
@@ -69,13 +69,13 @@ class GsaUpdateFloatFunctionalAttributeDiscreteParameter(
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "GsaSlimEntity",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.DISCRETE,
+ type_: "GsaParameterType" = GsaParameterType.DISCRETE,
default_value: "GsaSlimEntity | Unset_Type" = Unset,
) -> None:
"""GsaUpdateFloatFunctionalAttributeDiscreteParameter - a model defined in Swagger
@@ -97,10 +97,10 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: GsaSlimEntity, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: GsaSlimEntity | Unset_Type = Unset
if default_value is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
index eff74f5c2..135b8b0ed 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_numeric_parameter.py
@@ -67,7 +67,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_value": "float",
"interpolation_method": "GsaAttributeInterpolationMethod",
"scale_type": "GsaAttributeScaleType",
@@ -75,7 +75,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
"default_value": "defaultValue",
"interpolation_method": "interpolationMethod",
"scale_type": "scaleType",
@@ -92,7 +92,7 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_value: "float | None | Unset_Type" = Unset,
interpolation_method: "GsaAttributeInterpolationMethod | Unset_Type" = Unset,
scale_type: "GsaAttributeScaleType | Unset_Type" = Unset,
@@ -102,12 +102,12 @@ def __init__(
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
default_value: float | None, optional
interpolation_method: GsaAttributeInterpolationMethod, optional
scale_type: GsaAttributeScaleType, optional
"""
- super().__init__(parameter_guid=parameter_guid, type=type)
+ super().__init__(parameter_guid=parameter_guid, type_=type_)
self._default_value: float | None | Unset_Type = Unset
self._interpolation_method: GsaAttributeInterpolationMethod | Unset_Type = Unset
self._scale_type: GsaAttributeScaleType | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_parameter.py
index b83dc1c03..f8b7c0f8a 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_float_functional_attribute_parameter.py
@@ -64,12 +64,12 @@ class GsaUpdateFloatFunctionalAttributeParameter(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter_guid": "str",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter_guid": "parameterGuid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -87,48 +87,48 @@ def __init__(
self,
*,
parameter_guid: "str",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateFloatFunctionalAttributeParameter - a model defined in Swagger
Parameters
----------
parameter_guid: str
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter_guid: str
- self.type = type
+ self.type_ = type_
self.parameter_guid = parameter_guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateFloatFunctionalAttributeParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateFloatFunctionalAttributeParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateFloatFunctionalAttributeParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateFloatFunctionalAttributeParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter_guid(self) -> "str":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_hyperlink_attribute.py
index bb31b0b5f..3ee9567f0 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_hyperlink_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_hyperlink_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
+ type_: "GsaAttributeType" = GsaAttributeType.HYPERLINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_integer_attribute.py
index 5807583a6..6f00fbf38 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_integer_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_integer_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -100,7 +100,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.INTEGER,
+ type_: "GsaAttributeType" = GsaAttributeType.INTEGER,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -127,7 +127,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_logical_attribute.py
index 368484752..d651176b4 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_logical_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_logical_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LOGICAL,
+ type_: "GsaAttributeType" = GsaAttributeType.LOGICAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_long_text_attribute.py
index eb74837bd..8e907d024 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_long_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_long_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.LONGTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_maths_functional_attribute.py
index 412f56f79..b8f7fe9be 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_maths_functional_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_maths_functional_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"allow_all_compatible_expressions": "bool",
"allow_anonymous_expressions": "bool",
@@ -86,7 +86,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"allow_all_compatible_expressions": "allowAllCompatibleExpressions",
"allow_anonymous_expressions": "allowAnonymousExpressions",
@@ -118,7 +118,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
+ type_: "GsaAttributeType" = GsaAttributeType.MATHSFUNCTIONAL,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
allow_all_compatible_expressions: "bool | Unset_Type" = Unset,
allow_anonymous_expressions: "bool | Unset_Type" = Unset,
@@ -140,7 +140,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
allow_all_compatible_expressions: bool, optional
allow_anonymous_expressions: bool, optional
@@ -159,7 +159,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter.py
index 18a421a0a..5aa1acdd3 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter.py
@@ -66,7 +66,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -101,7 +101,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter):
def __init__(
self,
*,
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
@@ -126,7 +126,7 @@ def __init__(
values: list[GsaUpdateNumericParameterValue], optional
"""
super().__init__(
- type=type,
+ type_=type_,
default_parameter_value_guid=default_parameter_value_guid,
default_parameter_value_index=default_parameter_value_index,
guid=guid,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_content.py
index df4719e53..ac6868820 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_content.py
@@ -67,14 +67,14 @@ class GsaUpdateNumericParameterContent(GsaUpdateParameterContent):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"parameter_range": "GsaUpdateContinuousRange",
"value": "float",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
"parameter_range": "parameterRange",
"value": "value",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType" = GsaParameterType.NUMERIC,
+ type_: "GsaParameterType" = GsaParameterType.NUMERIC,
parameter_range: "GsaUpdateContinuousRange | Unset_Type" = Unset,
value: "float | None | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
parameter_range: GsaUpdateContinuousRange, optional
value: float | None, optional
"""
- super().__init__(parameter=parameter, type=type)
+ super().__init__(parameter=parameter, type_=type_)
self._value: float | None | Unset_Type = Unset
self._parameter_range: GsaUpdateContinuousRange | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_value.py
index 7a67703ff..6c275338b 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_numeric_parameter_value.py
@@ -68,14 +68,14 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
"name": "str",
"value": "float",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"value": "value",
@@ -88,7 +88,7 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue):
def __init__(
self,
*,
- type: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
+ type_: "GsaParameterValueType" = GsaParameterValueType.NUMERIC,
guid: "str | Unset_Type" = Unset,
name: "str | None | Unset_Type" = Unset,
value: "float | Unset_Type" = Unset,
@@ -97,12 +97,12 @@ def __init__(
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
name: str | None, optional
value: float, optional
"""
- super().__init__(type=type, guid=guid)
+ super().__init__(type_=type_, guid=guid)
self._value: float | Unset_Type = Unset
self._name: str | None | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter.py
index 3916aa876..c42cb9152 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter.py
@@ -63,7 +63,7 @@ class GsaUpdateParameter(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
"default_parameter_value_guid": "str",
"default_parameter_value_index": "int",
"guid": "str",
@@ -71,7 +71,7 @@ class GsaUpdateParameter(ModelBase):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"default_parameter_value_guid": "defaultParameterValueGuid",
"default_parameter_value_index": "defaultParameterValueIndex",
"guid": "guid",
@@ -92,7 +92,7 @@ class GsaUpdateParameter(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterType",
+ type_: "GsaParameterType",
default_parameter_value_guid: "str | Unset_Type" = Unset,
default_parameter_value_index: "int | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -102,19 +102,19 @@ def __init__(
Parameters
----------
- type: GsaParameterType
+ type_: GsaParameterType
default_parameter_value_guid: str, optional
default_parameter_value_index: int, optional
guid: str, optional
name: str, optional
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._default_parameter_value_guid: str | Unset_Type = Unset
self._default_parameter_value_index: int | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if default_parameter_value_guid is not Unset:
self.default_parameter_value_guid = default_parameter_value_guid
if default_parameter_value_index is not Unset:
@@ -125,32 +125,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameter.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameter.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameter.
+ The type_ of this GsaUpdateParameter.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameter.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameter.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameter.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameter.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def default_parameter_value_guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_content.py
index 1848c7964..f3c032bda 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_content.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_content.py
@@ -64,12 +64,12 @@ class GsaUpdateParameterContent(ModelBase):
"""
swagger_types: dict[str, str] = {
"parameter": "GsaSlimEntity",
- "type": "GsaParameterType",
+ "type_": "GsaParameterType",
}
attribute_map: dict[str, str] = {
"parameter": "parameter",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {
@@ -88,48 +88,48 @@ def __init__(
self,
*,
parameter: "GsaSlimEntity",
- type: "GsaParameterType",
+ type_: "GsaParameterType",
) -> None:
"""GsaUpdateParameterContent - a model defined in Swagger
Parameters
----------
parameter: GsaSlimEntity
- type: GsaParameterType
+ type_: GsaParameterType
"""
- self._type: GsaParameterType
+ self._type_: GsaParameterType
self._parameter: GsaSlimEntity
- self.type = type
+ self.type_ = type_
self.parameter = parameter
@property
- def type(self) -> "GsaParameterType":
- """Gets the type of this GsaUpdateParameterContent.
+ def type_(self) -> "GsaParameterType":
+ """Gets the type_ of this GsaUpdateParameterContent.
Returns
-------
GsaParameterType
- The type of this GsaUpdateParameterContent.
+ The type_ of this GsaUpdateParameterContent.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterType") -> None:
- """Sets the type of this GsaUpdateParameterContent.
+ @type_.setter
+ def type_(self, type_: "GsaParameterType") -> None:
+ """Sets the type_ of this GsaUpdateParameterContent.
Parameters
----------
- type: GsaParameterType
- The type of this GsaUpdateParameterContent.
+ type_: GsaParameterType
+ The type_ of this GsaUpdateParameterContent.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def parameter(self) -> "GsaSlimEntity":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_value.py
index 1d0863d09..6ac267436 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_parameter_value.py
@@ -63,12 +63,12 @@ class GsaUpdateParameterValue(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaParameterValueType",
+ "type_": "GsaParameterValueType",
"guid": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
}
@@ -86,50 +86,50 @@ class GsaUpdateParameterValue(ModelBase):
def __init__(
self,
*,
- type: "GsaParameterValueType",
+ type_: "GsaParameterValueType",
guid: "str | Unset_Type" = Unset,
) -> None:
"""GsaUpdateParameterValue - a model defined in Swagger
Parameters
----------
- type: GsaParameterValueType
+ type_: GsaParameterValueType
guid: str, optional
"""
- self._type: GsaParameterValueType
+ self._type_: GsaParameterValueType
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if guid is not Unset:
self.guid = guid
@property
- def type(self) -> "GsaParameterValueType":
- """Gets the type of this GsaUpdateParameterValue.
+ def type_(self) -> "GsaParameterValueType":
+ """Gets the type_ of this GsaUpdateParameterValue.
Returns
-------
GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ The type_ of this GsaUpdateParameterValue.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaParameterValueType") -> None:
- """Sets the type of this GsaUpdateParameterValue.
+ @type_.setter
+ def type_(self, type_: "GsaParameterValueType") -> None:
+ """Sets the type_ of this GsaUpdateParameterValue.
Parameters
----------
- type: GsaParameterValueType
- The type of this GsaUpdateParameterValue.
+ type_: GsaParameterValueType
+ The type_ of this GsaUpdateParameterValue.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def guid(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_picture_attribute.py
index 67ad9989a..8847db36d 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_picture_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_picture_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_names": "dict(str, str)",
@@ -77,7 +77,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_names": "displayNames",
@@ -94,7 +94,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.PICTURE,
+ type_: "GsaAttributeType" = GsaAttributeType.PICTURE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_names: "dict[str, str] | None | Unset_Type" = Unset,
@@ -107,7 +107,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_names: dict[str, str] | None, optional
@@ -117,7 +117,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_point_attribute.py
index 6815d0c96..7999036be 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_point_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_point_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"attribute_parameters": "list[GsaSlimEntity]",
"axis_name": "GsaUpdateAxisName",
@@ -81,7 +81,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"attribute_parameters": "attributeParameters",
"axis_name": "axisName",
@@ -106,7 +106,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.POINT,
+ type_: "GsaAttributeType" = GsaAttributeType.POINT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
@@ -123,7 +123,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
attribute_parameters: list[GsaSlimEntity] | None, optional
axis_name: GsaUpdateAxisName, optional
@@ -137,7 +137,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_discrete_value.py
index 03f7e1332..9aec1c9db 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_discrete_value.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_discrete_value.py
@@ -67,13 +67,13 @@ class GsaUpdatePutDiscreteValue(GsaPutDiscreteValue):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"name": "str",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"name": "name",
}
@@ -85,7 +85,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaPutType" = GsaPutType.UPDATE,
+ type_: "GsaPutType" = GsaPutType.UPDATE,
name: "str | Unset_Type" = Unset,
) -> None:
"""GsaUpdatePutDiscreteValue - a model defined in Swagger
@@ -93,10 +93,10 @@ def __init__(
Parameters
----------
guid: str
- type: GsaPutType
+ type_: GsaPutType
name: str, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str
self._name: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_layout_item.py
index 7760542ea..498921409 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_layout_item.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_layout_item.py
@@ -67,12 +67,12 @@ class GsaUpdatePutLayoutItem(GsaPutLayoutItem):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
}
subtype_mapping: dict[str, str] = {}
@@ -83,16 +83,16 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaPutType" = GsaPutType.UPDATE,
+ type_: "GsaPutType" = GsaPutType.UPDATE,
) -> None:
"""GsaUpdatePutLayoutItem - a model defined in Swagger
Parameters
----------
guid: str
- type: GsaPutType
+ type_: GsaPutType
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str
self.guid = guid
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission.py
index e46d31d63..412e8afd1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission.py
@@ -67,7 +67,7 @@ class GsaUpdatePutPermission(GsaPutPermission):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"description": "str",
"name": "str",
"role": "str",
@@ -77,7 +77,7 @@ class GsaUpdatePutPermission(GsaPutPermission):
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"description": "description",
"name": "name",
"role": "role",
@@ -93,7 +93,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaPutType" = GsaPutType.UPDATE,
+ type_: "GsaPutType" = GsaPutType.UPDATE,
description: "str | None | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
role: "str | Unset_Type" = Unset,
@@ -105,14 +105,14 @@ def __init__(
Parameters
----------
guid: str
- type: GsaPutType
+ type_: GsaPutType
description: str | None, optional
name: str, optional
role: str, optional
set_message: str | None, optional
unset_message: str | None, optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str
self._name: str | Unset_Type = Unset
self._role: str | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission_category.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission_category.py
index a30738621..2742b5200 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission_category.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_put_permission_category.py
@@ -67,14 +67,14 @@ class GsaUpdatePutPermissionCategory(GsaPutPermissionCategory):
"""
swagger_types: dict[str, str] = {
"guid": "str",
- "type": "GsaPutType",
+ "type_": "GsaPutType",
"name": "str",
"permissions": "list[GsaPutPermission]",
}
attribute_map: dict[str, str] = {
"guid": "guid",
- "type": "type",
+ "type_": "type",
"name": "name",
"permissions": "permissions",
}
@@ -89,7 +89,7 @@ def __init__(
self,
*,
guid: "str",
- type: "GsaPutType" = GsaPutType.UPDATE,
+ type_: "GsaPutType" = GsaPutType.UPDATE,
name: "str | Unset_Type" = Unset,
permissions: "list[GsaPutPermission] | Unset_Type" = Unset,
) -> None:
@@ -98,11 +98,11 @@ def __init__(
Parameters
----------
guid: str
- type: GsaPutType
+ type_: GsaPutType
name: str, optional
permissions: list[GsaPutPermission], optional
"""
- super().__init__(type=type)
+ super().__init__(type_=type_)
self._guid: str
self._name: str | Unset_Type = Unset
self._permissions: list[GsaPutPermission] | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_range_attribute.py
index 42e4221fb..18ff6ee51 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_range_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_range_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"axis_name": "GsaUpdateAxisName",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"axis_name": "axisName",
"default_threshold_type": "defaultThresholdType",
@@ -101,7 +101,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.RANGE,
+ type_: "GsaAttributeType" = GsaAttributeType.RANGE,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
axis_name: "GsaUpdateAxisName | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -116,7 +116,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
axis_name: GsaUpdateAxisName, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -128,7 +128,7 @@ def __init__(
unit: GsaSlimEntity, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_record_link_group.py
index 623002e49..216891d66 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_record_link_group.py
@@ -63,14 +63,14 @@ class GsaUpdateRecordLinkGroup(ModelBase):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"name": "str",
"reverse_name": "str",
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"name": "name",
"reverse_name": "reverseName",
@@ -91,7 +91,7 @@ class GsaUpdateRecordLinkGroup(ModelBase):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType",
+ type_: "GsaRecordLinkGroupType",
guid: "str | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
reverse_name: "str | Unset_Type" = Unset,
@@ -100,17 +100,17 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
name: str, optional
reverse_name: str, optional
"""
- self._type: GsaRecordLinkGroupType
+ self._type_: GsaRecordLinkGroupType
self._reverse_name: str | Unset_Type = Unset
self._name: str | Unset_Type = Unset
self._guid: str | Unset_Type = Unset
- self.type = type
+ self.type_ = type_
if reverse_name is not Unset:
self.reverse_name = reverse_name
if name is not Unset:
@@ -119,32 +119,32 @@ def __init__(
self.guid = guid
@property
- def type(self) -> "GsaRecordLinkGroupType":
- """Gets the type of this GsaUpdateRecordLinkGroup.
+ def type_(self) -> "GsaRecordLinkGroupType":
+ """Gets the type_ of this GsaUpdateRecordLinkGroup.
Returns
-------
GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
- return self._type
+ return self._type_
- @type.setter
- def type(self, type: "GsaRecordLinkGroupType") -> None:
- """Sets the type of this GsaUpdateRecordLinkGroup.
+ @type_.setter
+ def type_(self, type_: "GsaRecordLinkGroupType") -> None:
+ """Sets the type_ of this GsaUpdateRecordLinkGroup.
Parameters
----------
- type: GsaRecordLinkGroupType
- The type of this GsaUpdateRecordLinkGroup.
+ type_: GsaRecordLinkGroupType
+ The type_ of this GsaUpdateRecordLinkGroup.
"""
# Field is not nullable
- if type is None:
- raise ValueError("Invalid value for 'type', must not be 'None'")
+ if type_ is None:
+ raise ValueError("Invalid value for 'type_', must not be 'None'")
# Field is required
- if type is Unset: # type: ignore[comparison-overlap, unused-ignore]
- raise ValueError("Invalid value for 'type', must not be 'Unset'")
- self._type = type
+ if type_ is Unset: # type: ignore[comparison-overlap, unused-ignore]
+ raise ValueError("Invalid value for 'type_', must not be 'Unset'")
+ self._type_ = type_
@property
def reverse_name(self) -> "str | Unset_Type":
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_short_text_attribute.py
index a3a90fc8f..22bcea33f 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_short_text_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_short_text_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"data_rule": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
@@ -79,7 +79,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"data_rule": "dataRule",
"default_threshold_type": "defaultThresholdType",
@@ -100,7 +100,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
+ type_: "GsaAttributeType" = GsaAttributeType.SHORTTEXT,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
data_rule: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
@@ -115,7 +115,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
data_rule: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
@@ -127,7 +127,7 @@ def __init__(
name: str, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_smart_record_link_group.py
index 2287287cd..cc56814d1 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_smart_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_smart_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"attribute_pairs": "list[GsaCreateAttributeLinkPair]",
"forbid_orphans": "bool",
"guid": "str",
@@ -78,7 +78,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"attribute_pairs": "attributePairs",
"forbid_orphans": "forbidOrphans",
"guid": "guid",
@@ -97,7 +97,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART,
attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" = Unset,
forbid_orphans: "bool | Unset_Type" = Unset,
guid: "str | Unset_Type" = Unset,
@@ -109,7 +109,7 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
attribute_pairs: list[GsaCreateAttributeLinkPair], optional
forbid_orphans: bool, optional
guid: str, optional
@@ -117,7 +117,7 @@ def __init__(
referential_integrity_model: GsaReferentialIntegrityModel, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._forbid_orphans: bool | Unset_Type = Unset
self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset
self._attribute_pairs: list[GsaCreateAttributeLinkPair] | Unset_Type = Unset
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_static_record_link_group.py
index a3a6e8b44..45667e938 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_static_record_link_group.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_static_record_link_group.py
@@ -68,7 +68,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaRecordLinkGroupType",
+ "type_": "GsaRecordLinkGroupType",
"guid": "str",
"include_indirect_links": "bool",
"name": "str",
@@ -76,7 +76,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"guid": "guid",
"include_indirect_links": "includeIndirectLinks",
"name": "name",
@@ -90,7 +90,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup):
def __init__(
self,
*,
- type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
+ type_: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC,
guid: "str | Unset_Type" = Unset,
include_indirect_links: "bool | Unset_Type" = Unset,
name: "str | Unset_Type" = Unset,
@@ -100,13 +100,13 @@ def __init__(
Parameters
----------
- type: GsaRecordLinkGroupType
+ type_: GsaRecordLinkGroupType
guid: str, optional
include_indirect_links: bool, optional
name: str, optional
reverse_name: str, optional
"""
- super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name)
+ super().__init__(type_=type_, guid=guid, name=name, reverse_name=reverse_name)
self._include_indirect_links: bool | Unset_Type = Unset
if include_indirect_links is not Unset:
diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_tabular_attribute.py
index a4178acd9..94a447a20 100644
--- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_tabular_attribute.py
+++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2027r1/models/gsa_update_tabular_attribute.py
@@ -66,7 +66,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
Name of the property used as discriminator for subtypes.
"""
swagger_types: dict[str, str] = {
- "type": "GsaAttributeType",
+ "type_": "GsaAttributeType",
"about_attribute": "GsaSlimEntity",
"default_threshold_type": "GsaAttributeThresholdType",
"display_full_table": "bool",
@@ -82,7 +82,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
}
attribute_map: dict[str, str] = {
- "type": "type",
+ "type_": "type",
"about_attribute": "aboutAttribute",
"default_threshold_type": "defaultThresholdType",
"display_full_table": "displayFullTable",
@@ -107,7 +107,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute):
def __init__(
self,
*,
- type: "GsaAttributeType" = GsaAttributeType.LINK,
+ type_: "GsaAttributeType" = GsaAttributeType.LINK,
about_attribute: "GsaSlimEntity | Unset_Type" = Unset,
default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset,
display_full_table: "bool | Unset_Type" = Unset,
@@ -125,7 +125,7 @@ def __init__(
Parameters
----------
- type: GsaAttributeType
+ type_: GsaAttributeType
about_attribute: GsaSlimEntity, optional
default_threshold_type: GsaAttributeThresholdType, optional
display_full_table: bool, optional
@@ -140,7 +140,7 @@ def __init__(
target: GsaUpdateTabularAttributeTarget, optional
"""
super().__init__(
- type=type,
+ type_=type_,
about_attribute=about_attribute,
default_threshold_type=default_threshold_type,
display_names=display_names,
diff --git a/ansys-grantami-serverapi-openapi/uv.lock b/ansys-grantami-serverapi-openapi/uv.lock
index 69d262e60..26ec355fe 100644
--- a/ansys-grantami-serverapi-openapi/uv.lock
+++ b/ansys-grantami-serverapi-openapi/uv.lock
@@ -8,7 +8,7 @@ resolution-markers = [
[[package]]
name = "ansys-grantami-serverapi-openapi"
-version = "6.0.0.dev1325"
+version = "6.0.0.dev1329"
source = { editable = "." }
dependencies = [
{ name = "ansys-openapi-common" },
diff --git a/pom.xml b/pom.xml
index 3b5bd6b26..453919e8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
1.0.0
0.1.0
com.ansys.granta.codegen.AnsysPythonClientCodegen
- 8.0.0-SNAPSHOT
+ 8.2.0-SNAPSHOT
ansys-grantami-serverapi-openapi
ansys.grantami.serverapi_openapi
Autogenerated client library for the Granta MI Server API.