From 85e35859a1fa7a118993861c7d08210f29bc5bd3 Mon Sep 17 00:00:00 2001 From: Andy Grigg Date: Tue, 25 Aug 2026 15:14:04 -0400 Subject: [PATCH 1/2] Update template to 8.2.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3b5bd6b2..453919e8 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. From e1bac9c748a16134ae0307a61b3e5ca6ddc86284 Mon Sep 17 00:00:00 2001 From: Andy-Grigg Date: Tue, 25 Aug 2026 19:19:13 +0000 Subject: [PATCH 2/2] Generate Client Library code - Automated --- ansys-grantami-serverapi-openapi/LICENSE | 2 +- .../pyproject.toml | 2 +- .../grantami/serverapi_openapi/__init__.py | 2 +- .../v2025r1/api/job_queue_api.py | 160 +++++++++--------- .../v2025r1/models/gsa_aggregation.py | 40 ++--- .../models/gsa_aggregation_criterion.py | 40 ++--- .../models/gsa_aggregation_datum_criterion.py | 40 ++--- .../gsa_aggregation_datum_exists_criterion.py | 38 ++--- .../v2025r1/models/gsa_attribute.py | 40 ++--- .../models/gsa_attribute_aggregation.py | 10 +- .../gsa_attribute_aggregation_criterion.py | 10 +- ..._attribute_aggregation_exists_criterion.py | 10 +- ...a_attribute_aggregation_value_criterion.py | 10 +- .../v2025r1/models/gsa_attribute_criterion.py | 10 +- .../gsa_attribute_exists_aggregation.py | 10 +- .../models/gsa_attribute_exists_criterion.py | 10 +- .../models/gsa_attribute_export_failure.py | 12 +- .../models/gsa_attribute_matches_criterion.py | 10 +- .../gsa_attribute_not_applicable_criterion.py | 10 +- .../models/gsa_attribute_sort_criterion.py | 10 +- .../models/gsa_attribute_value_aggregation.py | 10 +- .../v2025r1/models/gsa_boolean_criterion.py | 114 ++++++------- .../v2025r1/models/gsa_create_attribute.py | 40 ++--- ...create_cross_database_record_link_group.py | 10 +- .../models/gsa_create_date_time_attribute.py | 10 +- .../models/gsa_create_discrete_attribute.py | 10 +- ...sa_create_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_discrete_parameter.py | 10 +- .../gsa_create_discrete_parameter_content.py | 10 +- .../gsa_create_discrete_parameter_value.py | 10 +- .../gsa_create_dynamic_record_link_group.py | 10 +- .../models/gsa_create_file_attribute.py | 10 +- .../gsa_create_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_hyperlink_attribute.py | 10 +- .../models/gsa_create_integer_attribute.py | 10 +- .../v2025r1/models/gsa_create_job_request.py | 34 ++-- .../models/gsa_create_logical_attribute.py | 10 +- .../models/gsa_create_long_text_attribute.py | 10 +- .../gsa_create_maths_functional_attribute.py | 10 +- .../models/gsa_create_numeric_parameter.py | 10 +- .../gsa_create_numeric_parameter_content.py | 10 +- .../gsa_create_numeric_parameter_value.py | 10 +- .../v2025r1/models/gsa_create_parameter.py | 40 ++--- .../models/gsa_create_parameter_content.py | 40 ++--- .../models/gsa_create_parameter_value.py | 40 ++--- .../models/gsa_create_picture_attribute.py | 10 +- .../models/gsa_create_point_attribute.py | 10 +- .../models/gsa_create_range_attribute.py | 10 +- .../models/gsa_create_record_link_group.py | 40 ++--- .../models/gsa_create_short_text_attribute.py | 10 +- .../gsa_create_static_record_link_group.py | 10 +- .../models/gsa_create_tabular_attribute.py | 10 +- .../v2025r1/models/gsa_criterion.py | 40 ++--- .../gsa_cross_database_record_link_group.py | 10 +- .../gsa_data_export_count_rollup_datum.py | 10 +- .../gsa_data_export_numeric_rollup_datum.py | 10 +- .../models/gsa_data_export_rollup_datum.py | 36 ++-- .../gsa_data_export_value_rollup_datum.py | 10 +- .../gsa_data_export_values_rollup_datum.py | 10 +- ...a_date_time_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_date_time_attribute.py | 10 +- .../models/gsa_date_time_datum_criterion.py | 10 +- .../gsa_date_time_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_datum_criterion.py | 40 ++--- .../models/gsa_datum_discrete_rollup.py | 10 +- .../models/gsa_datum_exists_criterion.py | 40 ++--- .../models/gsa_datum_export_failure.py | 12 +- .../models/gsa_datum_integer_rollup.py | 10 +- .../v2025r1/models/gsa_datum_list_rollup.py | 10 +- .../models/gsa_datum_numerical_rollup.py | 10 +- .../v2025r1/models/gsa_datum_rollup.py | 40 ++--- .../v2025r1/models/gsa_discrete_attribute.py | 10 +- .../gsa_discrete_datum_exists_criterion.py | 10 +- .../gsa_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- ...crete_functional_datum_exists_criterion.py | 10 +- ...screte_functional_range_datum_criterion.py | 10 +- ...crete_functional_values_datum_criterion.py | 10 +- .../gsa_discrete_guid_datum_criterion.py | 10 +- ...sa_discrete_guid_values_datum_criterion.py | 114 ++++++------- .../gsa_discrete_identity_datum_criterion.py | 10 +- ...iscrete_identity_values_datum_criterion.py | 114 ++++++------- .../v2025r1/models/gsa_discrete_parameter.py | 10 +- .../models/gsa_discrete_parameter_content.py | 10 +- .../gsa_discrete_parameter_name_constraint.py | 78 ++++----- .../models/gsa_discrete_parameter_value.py | 10 +- ...gsa_discrete_parameter_value_constraint.py | 78 ++++----- .../gsa_discrete_range_datum_criterion.py | 10 +- ...screte_text_aggregation_datum_criterion.py | 10 +- .../gsa_discrete_text_datum_criterion.py | 10 +- ...sa_discrete_text_prefix_datum_criterion.py | 10 +- ...sa_discrete_text_values_datum_criterion.py | 112 ++++++------ .../models/gsa_double_sorting_value.py | 10 +- .../models/gsa_dynamic_record_link_group.py | 10 +- .../v2025r1/models/gsa_export_failure.py | 40 ++--- .../v2025r1/models/gsa_file_attribute.py | 10 +- .../models/gsa_file_datum_criterion.py | 10 +- .../models/gsa_file_datum_exists_criterion.py | 10 +- .../models/gsa_file_prefix_datum_criterion.py | 10 +- ..._functional_aggregation_datum_criterion.py | 10 +- .../models/gsa_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...sa_float_functional_attribute_parameter.py | 40 ++--- .../gsa_float_functional_datum_criterion.py | 10 +- ...float_functional_datum_exists_criterion.py | 10 +- ..._float_functional_graph_datum_criterion.py | 10 +- .../models/gsa_free_text_aggregation.py | 10 +- .../gsa_free_text_aggregation_criterion.py | 10 +- .../v2025r1/models/gsa_free_text_criterion.py | 10 +- .../models/gsa_free_text_prefix_criterion.py | 10 +- .../v2025r1/models/gsa_guid_only_attribute.py | 40 ++--- .../v2025r1/models/gsa_hyperlink_attribute.py | 10 +- .../models/gsa_hyperlink_datum_criterion.py | 10 +- .../gsa_hyperlink_datum_exists_criterion.py | 10 +- .../gsa_hyperlink_prefix_datum_criterion.py | 10 +- ...gsa_integer_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_integer_attribute.py | 10 +- .../models/gsa_integer_datum_criterion.py | 10 +- .../gsa_integer_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...r_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_integration_attribute.py | 40 ++--- .../v2025r1/models/gsa_job.py | 72 ++++---- .../gsa_link_aggregation_datum_criterion.py | 10 +- .../models/gsa_link_datum_criterion.py | 10 +- .../models/gsa_link_exists_datum_criterion.py | 10 +- .../v2025r1/models/gsa_link_export_failure.py | 12 +- ...sa_linking_value_exists_datum_criterion.py | 10 +- .../models/gsa_list_boolean_criterion.py | 10 +- .../v2025r1/models/gsa_list_criterion.py | 40 ++--- .../models/gsa_local_column_criterion.py | 10 +- .../gsa_local_column_exists_criterion.py | 10 +- .../gsa_local_column_matches_criterion.py | 10 +- ...a_local_column_not_applicable_criterion.py | 10 +- ...gsa_logical_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_logical_attribute.py | 10 +- .../models/gsa_logical_datum_criterion.py | 10 +- .../gsa_logical_datum_exists_criterion.py | 10 +- .../v2025r1/models/gsa_long_sorting_value.py | 10 +- .../v2025r1/models/gsa_long_text_attribute.py | 10 +- .../models/gsa_long_text_datum_criterion.py | 10 +- .../gsa_long_text_datum_exists_criterion.py | 10 +- .../gsa_long_text_prefix_datum_criterion.py | 10 +- .../models/gsa_maths_functional_attribute.py | 10 +- .../gsa_maths_functional_datum_criterion.py | 10 +- ...maths_functional_datum_exists_criterion.py | 10 +- .../v2025r1/models/gsa_named_criterion.py | 10 +- .../v2025r1/models/gsa_numeric_parameter.py | 10 +- .../gsa_numeric_parameter_constraint.py | 10 +- .../models/gsa_numeric_parameter_content.py | 10 +- .../models/gsa_numeric_parameter_value.py | 10 +- .../v2025r1/models/gsa_parameter.py | 40 ++--- .../models/gsa_parameter_constraint.py | 40 ++--- .../v2025r1/models/gsa_parameter_content.py | 40 ++--- .../v2025r1/models/gsa_parameter_value.py | 40 ++--- .../v2025r1/models/gsa_picture_attribute.py | 10 +- .../models/gsa_picture_datum_criterion.py | 10 +- .../gsa_picture_datum_exists_criterion.py | 10 +- .../gsa_point_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_point_attribute.py | 10 +- .../models/gsa_point_datum_criterion.py | 10 +- .../gsa_point_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...t_histogram_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_query_attribute.py | 38 ++--- .../models/gsa_query_attribute_filter.py | 34 ++-- .../models/gsa_query_attribute_properties.py | 34 ++-- .../models/gsa_query_attributes_request.py | 38 ++--- .../gsa_range_aggregation_datum_criterion.py | 10 +- .../v2025r1/models/gsa_range_attribute.py | 10 +- .../models/gsa_range_datum_criterion.py | 10 +- .../gsa_range_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_record_ancestor_criterion.py | 10 +- ...d_ancestor_history_identities_criterion.py | 10 +- .../models/gsa_record_export_failure.py | 12 +- .../v2025r1/models/gsa_record_link_group.py | 40 ++--- .../gsa_record_list_member_criterion.py | 10 +- .../gsa_record_list_search_criterion.py | 10 +- .../models/gsa_record_property_criterion.py | 48 +++--- .../gsa_record_property_sort_criterion.py | 48 +++--- .../models/gsa_record_reference_criterion.py | 10 +- .../models/gsa_record_subset_criterion.py | 10 +- .../models/gsa_relevance_sort_criterion.py | 10 +- .../v2025r1/models/gsa_resolved_link.py | 40 ++--- .../v2025r1/models/gsa_rich_text_value.py | 40 ++--- .../models/gsa_rollup_export_failure.py | 12 +- .../v2025r1/models/gsa_search_result.py | 38 ++--- ..._short_text_aggregation_datum_criterion.py | 10 +- .../models/gsa_short_text_attribute.py | 10 +- .../models/gsa_short_text_datum_criterion.py | 10 +- .../gsa_short_text_datum_exists_criterion.py | 10 +- .../gsa_short_text_prefix_datum_criterion.py | 10 +- .../v2025r1/models/gsa_slim_attribute.py | 40 ++--- .../v2025r1/models/gsa_slim_parameter.py | 40 ++--- .../models/gsa_slim_record_link_group.py | 40 ++--- .../models/gsa_slim_typed_attribute.py | 40 ++--- .../v2025r1/models/gsa_sort_criterion.py | 40 ++--- .../v2025r1/models/gsa_sorting_value.py | 40 ++--- .../models/gsa_static_record_link_group.py | 10 +- .../models/gsa_string_sorting_value.py | 10 +- .../v2025r1/models/gsa_tabular_attribute.py | 10 +- .../gsa_tabular_datum_exists_criterion.py | 10 +- .../gsa_tabular_linking_value_criterion.py | 10 +- .../v2025r1/models/gsa_update_attribute.py | 40 ++--- ...update_cross_database_record_link_group.py | 10 +- .../models/gsa_update_date_time_attribute.py | 10 +- .../models/gsa_update_discrete_attribute.py | 10 +- ...sa_update_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_discrete_parameter.py | 10 +- .../gsa_update_discrete_parameter_content.py | 10 +- .../gsa_update_discrete_parameter_value.py | 10 +- .../gsa_update_dynamic_record_link_group.py | 10 +- .../models/gsa_update_file_attribute.py | 10 +- .../gsa_update_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_hyperlink_attribute.py | 10 +- .../models/gsa_update_integer_attribute.py | 10 +- .../models/gsa_update_logical_attribute.py | 10 +- .../models/gsa_update_long_text_attribute.py | 10 +- .../gsa_update_maths_functional_attribute.py | 10 +- .../models/gsa_update_numeric_parameter.py | 10 +- .../gsa_update_numeric_parameter_content.py | 10 +- .../gsa_update_numeric_parameter_value.py | 10 +- .../v2025r1/models/gsa_update_parameter.py | 40 ++--- .../models/gsa_update_parameter_content.py | 40 ++--- .../models/gsa_update_parameter_value.py | 40 ++--- .../models/gsa_update_picture_attribute.py | 10 +- .../models/gsa_update_point_attribute.py | 10 +- .../models/gsa_update_range_attribute.py | 10 +- .../models/gsa_update_record_link_group.py | 40 ++--- .../models/gsa_update_short_text_attribute.py | 10 +- .../gsa_update_static_record_link_group.py | 10 +- .../models/gsa_update_tabular_attribute.py | 10 +- .../v2025r2/api/job_queue_api.py | 160 +++++++++--------- .../v2025r2/api/schema___tables_api.py | 14 +- .../v2025r2/models/gsa_aggregation.py | 40 ++--- .../models/gsa_aggregation_criterion.py | 40 ++--- .../models/gsa_aggregation_datum_criterion.py | 40 ++--- .../gsa_aggregation_datum_exists_criterion.py | 38 ++--- .../v2025r2/models/gsa_attribute.py | 40 ++--- .../models/gsa_attribute_aggregation.py | 10 +- .../gsa_attribute_aggregation_criterion.py | 10 +- ..._attribute_aggregation_exists_criterion.py | 10 +- ...a_attribute_aggregation_value_criterion.py | 10 +- .../v2025r2/models/gsa_attribute_criterion.py | 10 +- .../gsa_attribute_exists_aggregation.py | 10 +- .../models/gsa_attribute_exists_criterion.py | 10 +- .../models/gsa_attribute_export_failure.py | 12 +- .../models/gsa_attribute_matches_criterion.py | 10 +- .../gsa_attribute_not_applicable_criterion.py | 10 +- .../models/gsa_attribute_sort_criterion.py | 10 +- .../models/gsa_attribute_value_aggregation.py | 10 +- .../v2025r2/models/gsa_boolean_criterion.py | 114 ++++++------- .../v2025r2/models/gsa_create_attribute.py | 40 ++--- ...create_cross_database_record_link_group.py | 10 +- .../models/gsa_create_date_time_attribute.py | 10 +- .../models/gsa_create_discrete_attribute.py | 10 +- ...sa_create_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_discrete_parameter.py | 10 +- .../gsa_create_discrete_parameter_content.py | 10 +- .../gsa_create_discrete_parameter_value.py | 10 +- .../gsa_create_dynamic_record_link_group.py | 10 +- .../models/gsa_create_file_attribute.py | 10 +- .../gsa_create_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_hyperlink_attribute.py | 10 +- .../models/gsa_create_integer_attribute.py | 10 +- .../v2025r2/models/gsa_create_job_request.py | 34 ++-- .../models/gsa_create_logical_attribute.py | 10 +- .../models/gsa_create_long_text_attribute.py | 10 +- .../gsa_create_maths_functional_attribute.py | 10 +- .../models/gsa_create_numeric_parameter.py | 10 +- .../gsa_create_numeric_parameter_content.py | 10 +- .../gsa_create_numeric_parameter_value.py | 10 +- .../v2025r2/models/gsa_create_parameter.py | 40 ++--- .../models/gsa_create_parameter_content.py | 40 ++--- .../models/gsa_create_parameter_value.py | 40 ++--- .../models/gsa_create_picture_attribute.py | 10 +- .../models/gsa_create_point_attribute.py | 10 +- .../models/gsa_create_range_attribute.py | 10 +- .../models/gsa_create_record_link_group.py | 40 ++--- .../models/gsa_create_short_text_attribute.py | 10 +- .../gsa_create_static_record_link_group.py | 10 +- .../models/gsa_create_tabular_attribute.py | 10 +- .../v2025r2/models/gsa_criterion.py | 40 ++--- .../gsa_cross_database_record_link_group.py | 10 +- .../gsa_data_export_count_rollup_datum.py | 10 +- .../gsa_data_export_numeric_rollup_datum.py | 10 +- .../models/gsa_data_export_rollup_datum.py | 36 ++-- .../gsa_data_export_value_rollup_datum.py | 10 +- .../gsa_data_export_values_rollup_datum.py | 10 +- ...a_date_time_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_date_time_attribute.py | 10 +- .../models/gsa_date_time_datum_criterion.py | 10 +- .../gsa_date_time_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_datum_criterion.py | 40 ++--- .../models/gsa_datum_discrete_rollup.py | 10 +- .../v2025r2/models/gsa_datum_double_rollup.py | 10 +- .../models/gsa_datum_exists_criterion.py | 40 ++--- .../models/gsa_datum_export_failure.py | 12 +- .../models/gsa_datum_integer_rollup.py | 10 +- .../v2025r2/models/gsa_datum_list_rollup.py | 10 +- .../v2025r2/models/gsa_datum_rollup.py | 40 ++--- .../v2025r2/models/gsa_discrete_attribute.py | 10 +- .../gsa_discrete_datum_exists_criterion.py | 10 +- .../gsa_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- ...crete_functional_datum_exists_criterion.py | 10 +- ...screte_functional_range_datum_criterion.py | 10 +- ...crete_functional_values_datum_criterion.py | 10 +- .../gsa_discrete_guid_datum_criterion.py | 10 +- ...sa_discrete_guid_values_datum_criterion.py | 114 ++++++------- .../gsa_discrete_identity_datum_criterion.py | 10 +- ...iscrete_identity_values_datum_criterion.py | 114 ++++++------- .../v2025r2/models/gsa_discrete_parameter.py | 10 +- .../models/gsa_discrete_parameter_content.py | 10 +- .../gsa_discrete_parameter_name_constraint.py | 78 ++++----- .../models/gsa_discrete_parameter_value.py | 10 +- ...gsa_discrete_parameter_value_constraint.py | 78 ++++----- .../gsa_discrete_range_datum_criterion.py | 10 +- ...screte_text_aggregation_datum_criterion.py | 10 +- .../gsa_discrete_text_datum_criterion.py | 10 +- ...sa_discrete_text_prefix_datum_criterion.py | 10 +- ...sa_discrete_text_values_datum_criterion.py | 112 ++++++------ .../models/gsa_double_sorting_value.py | 10 +- .../models/gsa_dynamic_record_link_group.py | 10 +- .../v2025r2/models/gsa_export_failure.py | 40 ++--- .../v2025r2/models/gsa_file_attribute.py | 10 +- .../models/gsa_file_datum_criterion.py | 10 +- .../models/gsa_file_datum_exists_criterion.py | 10 +- .../models/gsa_file_prefix_datum_criterion.py | 10 +- ..._functional_aggregation_datum_criterion.py | 10 +- .../models/gsa_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...sa_float_functional_attribute_parameter.py | 40 ++--- .../gsa_float_functional_datum_criterion.py | 10 +- ...float_functional_datum_exists_criterion.py | 10 +- ..._float_functional_graph_datum_criterion.py | 10 +- .../models/gsa_free_text_aggregation.py | 10 +- .../gsa_free_text_aggregation_criterion.py | 10 +- .../v2025r2/models/gsa_free_text_criterion.py | 10 +- .../models/gsa_free_text_prefix_criterion.py | 10 +- .../v2025r2/models/gsa_guid_only_attribute.py | 40 ++--- .../v2025r2/models/gsa_hyperlink_attribute.py | 10 +- .../models/gsa_hyperlink_datum_criterion.py | 10 +- .../gsa_hyperlink_datum_exists_criterion.py | 10 +- .../gsa_hyperlink_prefix_datum_criterion.py | 10 +- ...gsa_integer_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_integer_attribute.py | 10 +- .../models/gsa_integer_datum_criterion.py | 10 +- .../gsa_integer_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...r_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_integration_attribute.py | 40 ++--- .../v2025r2/models/gsa_job.py | 72 ++++---- .../gsa_link_aggregation_datum_criterion.py | 10 +- .../models/gsa_link_datum_criterion.py | 10 +- .../models/gsa_link_exists_datum_criterion.py | 10 +- .../v2025r2/models/gsa_link_export_failure.py | 12 +- ...sa_linking_value_exists_datum_criterion.py | 10 +- .../models/gsa_list_boolean_criterion.py | 10 +- .../v2025r2/models/gsa_list_criterion.py | 40 ++--- .../models/gsa_local_column_criterion.py | 10 +- .../gsa_local_column_exists_criterion.py | 10 +- .../gsa_local_column_matches_criterion.py | 10 +- ...a_local_column_not_applicable_criterion.py | 10 +- ...gsa_logical_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_logical_attribute.py | 10 +- .../models/gsa_logical_datum_criterion.py | 10 +- .../gsa_logical_datum_exists_criterion.py | 10 +- .../v2025r2/models/gsa_long_sorting_value.py | 10 +- .../v2025r2/models/gsa_long_text_attribute.py | 10 +- .../models/gsa_long_text_datum_criterion.py | 10 +- .../gsa_long_text_datum_exists_criterion.py | 10 +- .../gsa_long_text_prefix_datum_criterion.py | 10 +- .../models/gsa_maths_functional_attribute.py | 10 +- .../gsa_maths_functional_datum_criterion.py | 10 +- ...maths_functional_datum_exists_criterion.py | 10 +- .../v2025r2/models/gsa_named_criterion.py | 10 +- .../v2025r2/models/gsa_numeric_parameter.py | 10 +- .../gsa_numeric_parameter_constraint.py | 10 +- .../models/gsa_numeric_parameter_content.py | 10 +- .../models/gsa_numeric_parameter_value.py | 10 +- .../v2025r2/models/gsa_parameter.py | 40 ++--- .../models/gsa_parameter_constraint.py | 40 ++--- .../v2025r2/models/gsa_parameter_content.py | 40 ++--- .../v2025r2/models/gsa_parameter_value.py | 40 ++--- .../v2025r2/models/gsa_picture_attribute.py | 10 +- .../models/gsa_picture_datum_criterion.py | 10 +- .../gsa_picture_datum_exists_criterion.py | 10 +- .../gsa_point_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_point_attribute.py | 10 +- .../models/gsa_point_datum_criterion.py | 10 +- .../gsa_point_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...t_histogram_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_query_attribute.py | 38 ++--- .../models/gsa_query_attribute_filter.py | 34 ++-- .../models/gsa_query_attribute_properties.py | 34 ++-- .../models/gsa_query_attributes_request.py | 38 ++--- .../gsa_query_discrete_types_request.py | 38 ++--- .../models/gsa_query_slim_typed_attribute.py | 38 ++--- ...a_query_slim_typed_attribute_properties.py | 34 ++-- .../models/gsa_query_tables_request.py | 38 ++--- .../gsa_range_aggregation_datum_criterion.py | 10 +- .../v2025r2/models/gsa_range_attribute.py | 10 +- .../models/gsa_range_datum_criterion.py | 10 +- .../gsa_range_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_record_ancestor_criterion.py | 10 +- .../gsa_record_ancestor_history_criterion.py | 10 +- .../models/gsa_record_export_failure.py | 12 +- .../v2025r2/models/gsa_record_link_group.py | 40 ++--- .../gsa_record_list_member_criterion.py | 10 +- .../gsa_record_list_search_criterion.py | 10 +- .../models/gsa_record_property_criterion.py | 48 +++--- .../gsa_record_property_sort_criterion.py | 48 +++--- .../models/gsa_record_reference_criterion.py | 10 +- .../models/gsa_record_subset_criterion.py | 10 +- .../models/gsa_relevance_sort_criterion.py | 10 +- .../v2025r2/models/gsa_resolved_link.py | 40 ++--- .../v2025r2/models/gsa_rich_text_value.py | 40 ++--- .../models/gsa_rollup_export_failure.py | 12 +- .../v2025r2/models/gsa_search_result.py | 38 ++--- ..._short_text_aggregation_datum_criterion.py | 10 +- .../models/gsa_short_text_attribute.py | 10 +- .../models/gsa_short_text_datum_criterion.py | 10 +- .../gsa_short_text_datum_exists_criterion.py | 10 +- .../gsa_short_text_prefix_datum_criterion.py | 10 +- .../v2025r2/models/gsa_slim_attribute.py | 40 ++--- .../v2025r2/models/gsa_slim_parameter.py | 40 ++--- .../models/gsa_slim_record_link_group.py | 40 ++--- .../models/gsa_slim_typed_attribute.py | 40 ++--- .../v2025r2/models/gsa_sort_criterion.py | 40 ++--- .../v2025r2/models/gsa_sorting_value.py | 40 ++--- .../models/gsa_static_record_link_group.py | 10 +- .../models/gsa_string_sorting_value.py | 10 +- .../v2025r2/models/gsa_tabular_attribute.py | 10 +- .../gsa_tabular_datum_exists_criterion.py | 10 +- .../gsa_tabular_linking_value_criterion.py | 10 +- .../v2025r2/models/gsa_update_attribute.py | 40 ++--- ...update_cross_database_record_link_group.py | 10 +- .../models/gsa_update_date_time_attribute.py | 10 +- .../models/gsa_update_discrete_attribute.py | 10 +- ...sa_update_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_discrete_parameter.py | 10 +- .../gsa_update_discrete_parameter_content.py | 10 +- .../gsa_update_discrete_parameter_value.py | 10 +- .../gsa_update_dynamic_record_link_group.py | 10 +- .../models/gsa_update_file_attribute.py | 10 +- .../gsa_update_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_hyperlink_attribute.py | 10 +- .../models/gsa_update_integer_attribute.py | 10 +- .../models/gsa_update_logical_attribute.py | 10 +- .../models/gsa_update_long_text_attribute.py | 10 +- .../gsa_update_maths_functional_attribute.py | 10 +- .../models/gsa_update_numeric_parameter.py | 10 +- .../gsa_update_numeric_parameter_content.py | 10 +- .../gsa_update_numeric_parameter_value.py | 10 +- .../v2025r2/models/gsa_update_parameter.py | 40 ++--- .../models/gsa_update_parameter_content.py | 40 ++--- .../models/gsa_update_parameter_value.py | 40 ++--- .../models/gsa_update_picture_attribute.py | 10 +- .../models/gsa_update_point_attribute.py | 10 +- .../models/gsa_update_range_attribute.py | 10 +- .../models/gsa_update_record_link_group.py | 40 ++--- .../models/gsa_update_short_text_attribute.py | 10 +- .../gsa_update_static_record_link_group.py | 10 +- .../models/gsa_update_tabular_attribute.py | 10 +- .../v2026r1/api/job_queue_api.py | 160 +++++++++--------- .../v2026r1/api/schema___databases_api.py | 14 +- .../v2026r1/api/schema___tables_api.py | 14 +- .../v2026r1/models/gsa_activity_log_entry.py | 40 ++--- .../v2026r1/models/gsa_aggregation.py | 40 ++--- .../models/gsa_aggregation_criterion.py | 40 ++--- .../models/gsa_aggregation_datum_criterion.py | 40 ++--- .../gsa_aggregation_datum_exists_criterion.py | 38 ++--- .../v2026r1/models/gsa_attribute.py | 40 ++--- .../models/gsa_attribute_aggregation.py | 10 +- .../gsa_attribute_aggregation_criterion.py | 10 +- ..._attribute_aggregation_exists_criterion.py | 10 +- ...a_attribute_aggregation_value_criterion.py | 10 +- .../v2026r1/models/gsa_attribute_criterion.py | 10 +- .../gsa_attribute_exists_aggregation.py | 10 +- .../models/gsa_attribute_exists_criterion.py | 10 +- .../models/gsa_attribute_export_failure.py | 12 +- .../models/gsa_attribute_matches_criterion.py | 10 +- .../gsa_attribute_not_applicable_criterion.py | 10 +- .../models/gsa_attribute_sort_criterion.py | 10 +- .../models/gsa_attribute_value_aggregation.py | 10 +- .../v2026r1/models/gsa_boolean_criterion.py | 114 ++++++------- .../v2026r1/models/gsa_create_attribute.py | 40 ++--- ...create_cross_database_record_link_group.py | 10 +- .../models/gsa_create_date_time_attribute.py | 10 +- .../models/gsa_create_discrete_attribute.py | 10 +- ...sa_create_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_discrete_parameter.py | 10 +- .../gsa_create_discrete_parameter_content.py | 10 +- .../gsa_create_discrete_parameter_value.py | 10 +- .../models/gsa_create_file_attribute.py | 10 +- .../gsa_create_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_hyperlink_attribute.py | 10 +- .../models/gsa_create_integer_attribute.py | 10 +- .../v2026r1/models/gsa_create_job_request.py | 34 ++-- .../models/gsa_create_logical_attribute.py | 10 +- .../models/gsa_create_long_text_attribute.py | 10 +- .../gsa_create_maths_functional_attribute.py | 10 +- .../models/gsa_create_numeric_parameter.py | 10 +- .../gsa_create_numeric_parameter_content.py | 10 +- .../gsa_create_numeric_parameter_value.py | 10 +- .../v2026r1/models/gsa_create_parameter.py | 40 ++--- .../models/gsa_create_parameter_content.py | 40 ++--- .../models/gsa_create_parameter_value.py | 40 ++--- .../models/gsa_create_picture_attribute.py | 10 +- .../models/gsa_create_point_attribute.py | 10 +- .../models/gsa_create_put_layout_item.py | 10 +- .../models/gsa_create_range_attribute.py | 10 +- .../models/gsa_create_record_link_group.py | 40 ++--- .../models/gsa_create_short_text_attribute.py | 10 +- .../gsa_create_smart_record_link_group.py | 10 +- .../gsa_create_static_record_link_group.py | 10 +- .../models/gsa_create_tabular_attribute.py | 10 +- .../v2026r1/models/gsa_criterion.py | 40 ++--- .../v2026r1/models/gsa_cross_database_link.py | 10 +- .../gsa_cross_database_record_link_group.py | 10 +- .../gsa_data_export_count_rollup_datum.py | 10 +- .../gsa_data_export_numeric_rollup_datum.py | 10 +- .../models/gsa_data_export_rollup_datum.py | 36 ++-- .../gsa_data_export_value_rollup_datum.py | 10 +- .../gsa_data_export_values_rollup_datum.py | 10 +- .../v2026r1/models/gsa_data_updater_job.py | 40 ++--- ...a_date_time_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_date_time_attribute.py | 10 +- .../models/gsa_date_time_datum_criterion.py | 10 +- .../gsa_date_time_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_datum_criterion.py | 40 ++--- .../models/gsa_datum_discrete_rollup.py | 10 +- .../v2026r1/models/gsa_datum_double_rollup.py | 10 +- .../models/gsa_datum_exists_criterion.py | 40 ++--- .../models/gsa_datum_export_failure.py | 12 +- .../models/gsa_datum_integer_rollup.py | 10 +- .../v2026r1/models/gsa_datum_list_rollup.py | 10 +- .../v2026r1/models/gsa_datum_rollup.py | 40 ++--- .../v2026r1/models/gsa_discrete_attribute.py | 10 +- .../gsa_discrete_datum_exists_criterion.py | 10 +- .../gsa_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- ...crete_functional_datum_exists_criterion.py | 10 +- ...screte_functional_range_datum_criterion.py | 10 +- ...crete_functional_values_datum_criterion.py | 10 +- .../gsa_discrete_guid_datum_criterion.py | 10 +- ...sa_discrete_guid_values_datum_criterion.py | 114 ++++++------- .../gsa_discrete_identity_datum_criterion.py | 10 +- ...iscrete_identity_values_datum_criterion.py | 114 ++++++------- .../v2026r1/models/gsa_discrete_parameter.py | 10 +- .../models/gsa_discrete_parameter_content.py | 10 +- .../gsa_discrete_parameter_name_constraint.py | 78 ++++----- .../models/gsa_discrete_parameter_value.py | 10 +- ...gsa_discrete_parameter_value_constraint.py | 78 ++++----- .../gsa_discrete_range_datum_criterion.py | 10 +- ...screte_text_aggregation_datum_criterion.py | 10 +- .../gsa_discrete_text_datum_criterion.py | 10 +- ...sa_discrete_text_prefix_datum_criterion.py | 10 +- ...sa_discrete_text_values_datum_criterion.py | 112 ++++++------ .../models/gsa_double_sorting_value.py | 10 +- .../v2026r1/models/gsa_export_failure.py | 40 ++--- .../v2026r1/models/gsa_file_attribute.py | 10 +- .../models/gsa_file_datum_criterion.py | 10 +- .../models/gsa_file_datum_exists_criterion.py | 10 +- .../models/gsa_file_prefix_datum_criterion.py | 10 +- ..._functional_aggregation_datum_criterion.py | 10 +- .../models/gsa_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...sa_float_functional_attribute_parameter.py | 40 ++--- .../gsa_float_functional_datum_criterion.py | 10 +- ...float_functional_datum_exists_criterion.py | 10 +- ..._float_functional_graph_datum_criterion.py | 10 +- .../models/gsa_free_text_aggregation.py | 10 +- .../gsa_free_text_aggregation_criterion.py | 10 +- .../v2026r1/models/gsa_free_text_criterion.py | 10 +- .../models/gsa_free_text_prefix_criterion.py | 10 +- .../v2026r1/models/gsa_guid_only_attribute.py | 40 ++--- .../v2026r1/models/gsa_hyperlink_attribute.py | 10 +- .../models/gsa_hyperlink_datum_criterion.py | 10 +- .../gsa_hyperlink_datum_exists_criterion.py | 10 +- .../gsa_hyperlink_prefix_datum_criterion.py | 10 +- ...gsa_integer_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_integer_attribute.py | 10 +- .../models/gsa_integer_datum_criterion.py | 10 +- .../gsa_integer_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...r_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_integration_attribute.py | 40 ++--- .../v2026r1/models/gsa_job.py | 72 ++++---- .../v2026r1/models/gsa_link.py | 40 ++--- .../gsa_link_aggregation_datum_criterion.py | 10 +- .../models/gsa_link_datum_criterion.py | 10 +- .../models/gsa_link_exists_datum_criterion.py | 10 +- .../v2026r1/models/gsa_link_export_failure.py | 12 +- ...sa_linking_value_exists_datum_criterion.py | 10 +- .../models/gsa_list_boolean_criterion.py | 10 +- .../v2026r1/models/gsa_list_criterion.py | 40 ++--- .../models/gsa_local_column_criterion.py | 10 +- .../gsa_local_column_exists_criterion.py | 10 +- .../gsa_local_column_matches_criterion.py | 10 +- ...a_local_column_not_applicable_criterion.py | 10 +- ...gsa_logical_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_logical_attribute.py | 10 +- .../models/gsa_logical_datum_criterion.py | 10 +- .../gsa_logical_datum_exists_criterion.py | 10 +- .../v2026r1/models/gsa_long_sorting_value.py | 10 +- .../v2026r1/models/gsa_long_text_attribute.py | 10 +- .../models/gsa_long_text_datum_criterion.py | 10 +- .../gsa_long_text_datum_exists_criterion.py | 10 +- .../gsa_long_text_prefix_datum_criterion.py | 10 +- .../models/gsa_maths_functional_attribute.py | 10 +- .../gsa_maths_functional_datum_criterion.py | 10 +- ...maths_functional_datum_exists_criterion.py | 10 +- .../v2026r1/models/gsa_named_criterion.py | 10 +- .../v2026r1/models/gsa_numeric_parameter.py | 10 +- .../gsa_numeric_parameter_constraint.py | 10 +- .../models/gsa_numeric_parameter_content.py | 10 +- .../models/gsa_numeric_parameter_value.py | 10 +- .../v2026r1/models/gsa_pagination_links.py | 34 ++-- .../v2026r1/models/gsa_parameter.py | 40 ++--- .../models/gsa_parameter_constraint.py | 40 ++--- .../v2026r1/models/gsa_parameter_content.py | 40 ++--- .../v2026r1/models/gsa_parameter_value.py | 40 ++--- .../v2026r1/models/gsa_picture_attribute.py | 10 +- .../models/gsa_picture_datum_criterion.py | 10 +- .../gsa_picture_datum_exists_criterion.py | 10 +- .../gsa_point_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_point_attribute.py | 10 +- .../models/gsa_point_datum_criterion.py | 10 +- .../gsa_point_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...t_histogram_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_put_layout_item.py | 40 ++--- .../v2026r1/models/gsa_query_attribute.py | 38 ++--- .../models/gsa_query_attribute_filter.py | 34 ++-- .../models/gsa_query_attribute_properties.py | 34 ++-- .../models/gsa_query_attributes_request.py | 38 ++--- .../gsa_query_discrete_types_request.py | 38 ++--- .../gsa_query_layout_sections_request.py | 38 ++--- .../models/gsa_query_layouts_request.py | 38 ++--- .../models/gsa_query_slim_typed_attribute.py | 38 ++--- ...a_query_slim_typed_attribute_properties.py | 34 ++-- .../models/gsa_query_tables_request.py | 38 ++--- .../gsa_range_aggregation_datum_criterion.py | 10 +- .../v2026r1/models/gsa_range_attribute.py | 10 +- .../models/gsa_range_datum_criterion.py | 10 +- .../gsa_range_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_record_ancestor_criterion.py | 10 +- .../gsa_record_ancestor_history_criterion.py | 10 +- .../models/gsa_record_export_failure.py | 12 +- .../v2026r1/models/gsa_record_link.py | 10 +- .../v2026r1/models/gsa_record_link_group.py | 40 ++--- .../gsa_record_list_member_criterion.py | 10 +- .../gsa_record_list_search_criterion.py | 10 +- .../models/gsa_record_property_criterion.py | 48 +++--- .../gsa_record_property_sort_criterion.py | 48 +++--- .../models/gsa_record_reference_criterion.py | 10 +- .../models/gsa_record_subset_criterion.py | 10 +- .../models/gsa_relevance_sort_criterion.py | 10 +- .../v2026r1/models/gsa_rich_text_value.py | 40 ++--- .../models/gsa_rollup_export_failure.py | 12 +- .../v2026r1/models/gsa_search_result.py | 38 ++--- ..._short_text_aggregation_datum_criterion.py | 10 +- .../models/gsa_short_text_attribute.py | 10 +- .../models/gsa_short_text_datum_criterion.py | 10 +- .../gsa_short_text_datum_exists_criterion.py | 10 +- .../gsa_short_text_prefix_datum_criterion.py | 10 +- .../v2026r1/models/gsa_slim_attribute.py | 40 ++--- .../gsa_slim_attribute_with_help_path.py | 40 ++--- .../v2026r1/models/gsa_slim_parameter.py | 40 ++--- .../gsa_slim_parameter_with_help_path.py | 40 ++--- .../models/gsa_slim_record_link_group.py | 40 ++--- .../models/gsa_slim_typed_attribute.py | 40 ++--- .../v2026r1/models/gsa_smart_link.py | 10 +- .../models/gsa_smart_record_link_group.py | 10 +- .../v2026r1/models/gsa_sort_criterion.py | 40 ++--- .../v2026r1/models/gsa_sorting_value.py | 40 ++--- .../models/gsa_static_record_link_group.py | 10 +- .../models/gsa_string_sorting_value.py | 10 +- .../v2026r1/models/gsa_tabular_attribute.py | 10 +- .../models/gsa_tabular_attribute_link.py | 10 +- .../gsa_tabular_datum_exists_criterion.py | 10 +- .../gsa_tabular_linking_value_criterion.py | 10 +- .../v2026r1/models/gsa_update_attribute.py | 40 ++--- ...update_cross_database_record_link_group.py | 10 +- .../models/gsa_update_date_time_attribute.py | 10 +- .../models/gsa_update_discrete_attribute.py | 10 +- ...sa_update_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_discrete_parameter.py | 10 +- .../gsa_update_discrete_parameter_content.py | 10 +- .../gsa_update_discrete_parameter_value.py | 10 +- .../models/gsa_update_file_attribute.py | 10 +- .../gsa_update_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_hyperlink_attribute.py | 10 +- .../models/gsa_update_integer_attribute.py | 10 +- .../models/gsa_update_logical_attribute.py | 10 +- .../models/gsa_update_long_text_attribute.py | 10 +- .../gsa_update_maths_functional_attribute.py | 10 +- .../models/gsa_update_numeric_parameter.py | 10 +- .../gsa_update_numeric_parameter_content.py | 10 +- .../gsa_update_numeric_parameter_value.py | 10 +- .../v2026r1/models/gsa_update_parameter.py | 40 ++--- .../models/gsa_update_parameter_content.py | 40 ++--- .../models/gsa_update_parameter_value.py | 40 ++--- .../models/gsa_update_picture_attribute.py | 10 +- .../models/gsa_update_point_attribute.py | 10 +- .../models/gsa_update_put_layout_item.py | 10 +- .../models/gsa_update_range_attribute.py | 10 +- .../models/gsa_update_record_link_group.py | 40 ++--- .../models/gsa_update_short_text_attribute.py | 10 +- .../gsa_update_smart_record_link_group.py | 10 +- .../gsa_update_static_record_link_group.py | 10 +- .../models/gsa_update_tabular_attribute.py | 10 +- .../v2027r1/api/job_queue_api.py | 160 +++++++++--------- .../v2027r1/api/schema___databases_api.py | 14 +- .../v2027r1/api/schema___tables_api.py | 14 +- .../v2027r1/models/gsa_activity_log_entry.py | 40 ++--- .../v2027r1/models/gsa_aggregation.py | 40 ++--- .../models/gsa_aggregation_criterion.py | 40 ++--- .../models/gsa_aggregation_datum_criterion.py | 40 ++--- .../gsa_aggregation_datum_exists_criterion.py | 38 ++--- ...ssociation_chain_create_put_layout_item.py | 10 +- .../v2027r1/models/gsa_attribute.py | 40 ++--- .../models/gsa_attribute_aggregation.py | 10 +- .../gsa_attribute_aggregation_criterion.py | 10 +- ..._attribute_aggregation_exists_criterion.py | 10 +- ...a_attribute_aggregation_value_criterion.py | 10 +- .../gsa_attribute_create_put_layout_item.py | 10 +- .../v2027r1/models/gsa_attribute_criterion.py | 10 +- .../gsa_attribute_exists_aggregation.py | 10 +- .../models/gsa_attribute_exists_criterion.py | 10 +- .../models/gsa_attribute_export_failure.py | 12 +- .../models/gsa_attribute_matches_criterion.py | 10 +- .../gsa_attribute_not_applicable_criterion.py | 10 +- .../models/gsa_attribute_sort_criterion.py | 10 +- .../models/gsa_attribute_value_aggregation.py | 10 +- .../v2027r1/models/gsa_boolean_criterion.py | 114 ++++++------- .../v2027r1/models/gsa_chart_data.py | 40 ++--- .../models/gsa_continuous_quality_system.py | 10 +- .../v2027r1/models/gsa_create_attribute.py | 40 ++--- .../gsa_create_continuous_quality_system.py | 10 +- ...create_cross_database_record_link_group.py | 10 +- .../models/gsa_create_date_time_attribute.py | 10 +- .../models/gsa_create_discrete_attribute.py | 10 +- ...sa_create_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_discrete_parameter.py | 10 +- .../gsa_create_discrete_parameter_content.py | 10 +- .../gsa_create_discrete_parameter_value.py | 10 +- .../gsa_create_discrete_quality_system.py | 10 +- .../models/gsa_create_file_attribute.py | 10 +- .../gsa_create_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_create_hyperlink_attribute.py | 10 +- .../models/gsa_create_integer_attribute.py | 10 +- .../v2027r1/models/gsa_create_job_request.py | 34 ++-- .../models/gsa_create_logical_attribute.py | 10 +- .../models/gsa_create_long_text_attribute.py | 10 +- .../gsa_create_maths_functional_attribute.py | 10 +- .../models/gsa_create_numeric_parameter.py | 10 +- .../gsa_create_numeric_parameter_content.py | 10 +- .../gsa_create_numeric_parameter_value.py | 10 +- .../v2027r1/models/gsa_create_parameter.py | 40 ++--- .../models/gsa_create_parameter_content.py | 40 ++--- .../models/gsa_create_parameter_value.py | 40 ++--- .../models/gsa_create_picture_attribute.py | 10 +- .../models/gsa_create_point_attribute.py | 10 +- .../models/gsa_create_put_discrete_value.py | 10 +- .../models/gsa_create_put_layout_item.py | 10 +- .../models/gsa_create_put_permission.py | 10 +- .../gsa_create_put_permission_category.py | 10 +- .../models/gsa_create_quality_system.py | 40 ++--- .../models/gsa_create_range_attribute.py | 10 +- .../models/gsa_create_record_link_group.py | 40 ++--- .../models/gsa_create_short_text_attribute.py | 10 +- .../gsa_create_smart_record_link_group.py | 10 +- .../gsa_create_static_record_link_group.py | 10 +- .../models/gsa_create_tabular_attribute.py | 10 +- .../v2027r1/models/gsa_criterion.py | 40 ++--- .../v2027r1/models/gsa_cross_database_link.py | 10 +- ...ss_database_link_create_put_layout_item.py | 10 +- .../gsa_cross_database_record_link_group.py | 10 +- .../gsa_data_export_count_rollup_datum.py | 10 +- .../gsa_data_export_numeric_rollup_datum.py | 10 +- .../models/gsa_data_export_rollup_datum.py | 36 ++-- .../gsa_data_export_value_rollup_datum.py | 10 +- .../gsa_data_export_values_rollup_datum.py | 10 +- .../v2027r1/models/gsa_data_updater_job.py | 40 ++--- ...a_date_time_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_date_time_attribute.py | 10 +- .../models/gsa_date_time_datum_criterion.py | 10 +- .../gsa_date_time_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_datum_criterion.py | 40 ++--- .../models/gsa_datum_discrete_rollup.py | 10 +- .../v2027r1/models/gsa_datum_double_rollup.py | 10 +- .../models/gsa_datum_exists_criterion.py | 40 ++--- .../models/gsa_datum_export_failure.py | 12 +- .../models/gsa_datum_integer_rollup.py | 10 +- .../v2027r1/models/gsa_datum_list_rollup.py | 10 +- .../v2027r1/models/gsa_datum_rollup.py | 40 ++--- .../v2027r1/models/gsa_discrete_attribute.py | 10 +- .../v2027r1/models/gsa_discrete_chart_data.py | 12 +- .../gsa_discrete_datum_exists_criterion.py | 10 +- .../gsa_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- ...crete_functional_datum_exists_criterion.py | 10 +- ...screte_functional_range_datum_criterion.py | 10 +- ...crete_functional_values_datum_criterion.py | 10 +- .../gsa_discrete_guid_datum_criterion.py | 10 +- ...sa_discrete_guid_values_datum_criterion.py | 114 ++++++------- .../gsa_discrete_identity_datum_criterion.py | 10 +- ...iscrete_identity_values_datum_criterion.py | 114 ++++++------- .../v2027r1/models/gsa_discrete_parameter.py | 10 +- .../models/gsa_discrete_parameter_content.py | 10 +- .../gsa_discrete_parameter_name_constraint.py | 78 ++++----- .../models/gsa_discrete_parameter_value.py | 10 +- ...gsa_discrete_parameter_value_constraint.py | 78 ++++----- .../models/gsa_discrete_quality_system.py | 10 +- .../gsa_discrete_range_datum_criterion.py | 10 +- ...screte_text_aggregation_datum_criterion.py | 10 +- .../gsa_discrete_text_datum_criterion.py | 10 +- ...sa_discrete_text_prefix_datum_criterion.py | 10 +- ...sa_discrete_text_values_datum_criterion.py | 112 ++++++------ .../models/gsa_double_sorting_value.py | 10 +- .../v2027r1/models/gsa_export_failure.py | 40 ++--- .../v2027r1/models/gsa_file_attribute.py | 10 +- .../models/gsa_file_datum_criterion.py | 10 +- .../models/gsa_file_datum_exists_criterion.py | 10 +- .../models/gsa_file_prefix_datum_criterion.py | 10 +- ..._functional_aggregation_datum_criterion.py | 10 +- .../models/gsa_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...sa_float_functional_attribute_parameter.py | 40 ++--- .../gsa_float_functional_datum_criterion.py | 10 +- ...float_functional_datum_exists_criterion.py | 10 +- ..._float_functional_graph_datum_criterion.py | 10 +- .../models/gsa_free_text_aggregation.py | 10 +- .../gsa_free_text_aggregation_criterion.py | 10 +- .../v2027r1/models/gsa_free_text_criterion.py | 10 +- .../models/gsa_free_text_prefix_criterion.py | 10 +- .../v2027r1/models/gsa_guid_only_attribute.py | 40 ++--- .../v2027r1/models/gsa_hyperlink_attribute.py | 10 +- .../models/gsa_hyperlink_datum_criterion.py | 10 +- .../gsa_hyperlink_datum_exists_criterion.py | 10 +- .../gsa_hyperlink_prefix_datum_criterion.py | 10 +- ...gsa_integer_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_integer_attribute.py | 10 +- .../v2027r1/models/gsa_integer_chart_data.py | 12 +- .../models/gsa_integer_datum_criterion.py | 10 +- .../gsa_integer_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...r_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_integration_attribute.py | 40 ++--- .../v2027r1/models/gsa_job.py | 72 ++++---- .../v2027r1/models/gsa_link.py | 40 ++--- .../gsa_link_aggregation_datum_criterion.py | 10 +- .../models/gsa_link_datum_criterion.py | 10 +- .../models/gsa_link_exists_datum_criterion.py | 10 +- .../v2027r1/models/gsa_link_export_failure.py | 12 +- ...sa_linking_value_exists_datum_criterion.py | 10 +- .../models/gsa_list_boolean_criterion.py | 10 +- .../v2027r1/models/gsa_list_criterion.py | 40 ++--- .../models/gsa_local_column_criterion.py | 10 +- .../gsa_local_column_exists_criterion.py | 10 +- .../gsa_local_column_matches_criterion.py | 10 +- ...a_local_column_not_applicable_criterion.py | 10 +- ...gsa_logical_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_logical_attribute.py | 10 +- .../v2027r1/models/gsa_logical_chart_data.py | 12 +- .../models/gsa_logical_datum_criterion.py | 10 +- .../gsa_logical_datum_exists_criterion.py | 10 +- .../v2027r1/models/gsa_long_sorting_value.py | 10 +- .../v2027r1/models/gsa_long_text_attribute.py | 10 +- .../models/gsa_long_text_datum_criterion.py | 10 +- .../gsa_long_text_datum_exists_criterion.py | 10 +- .../gsa_long_text_prefix_datum_criterion.py | 10 +- .../models/gsa_maths_functional_attribute.py | 10 +- .../gsa_maths_functional_datum_criterion.py | 10 +- ...maths_functional_datum_exists_criterion.py | 10 +- .../v2027r1/models/gsa_named_criterion.py | 10 +- .../v2027r1/models/gsa_numeric_parameter.py | 10 +- .../gsa_numeric_parameter_constraint.py | 10 +- .../models/gsa_numeric_parameter_content.py | 10 +- .../models/gsa_numeric_parameter_value.py | 10 +- .../v2027r1/models/gsa_pagination_links.py | 34 ++-- .../v2027r1/models/gsa_parameter.py | 40 ++--- .../models/gsa_parameter_constraint.py | 40 ++--- .../v2027r1/models/gsa_parameter_content.py | 40 ++--- .../v2027r1/models/gsa_parameter_value.py | 40 ++--- .../v2027r1/models/gsa_picture_attribute.py | 10 +- .../models/gsa_picture_datum_criterion.py | 10 +- .../gsa_picture_datum_exists_criterion.py | 10 +- .../gsa_point_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_point_attribute.py | 10 +- .../v2027r1/models/gsa_point_chart_data.py | 12 +- .../models/gsa_point_datum_criterion.py | 10 +- .../gsa_point_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...t_histogram_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_put_discrete_value.py | 40 ++--- .../v2027r1/models/gsa_put_layout_item.py | 40 ++--- .../v2027r1/models/gsa_put_permission.py | 40 ++--- .../models/gsa_put_permission_category.py | 40 ++--- .../v2027r1/models/gsa_quality_system.py | 40 ++--- .../v2027r1/models/gsa_query_attribute.py | 38 ++--- .../models/gsa_query_attribute_filter.py | 34 ++-- .../models/gsa_query_attribute_properties.py | 34 ++-- .../models/gsa_query_attributes_request.py | 38 ++--- .../gsa_query_discrete_types_request.py | 38 ++--- .../gsa_query_layout_sections_request.py | 38 ++--- .../models/gsa_query_layouts_request.py | 38 ++--- .../models/gsa_query_slim_typed_attribute.py | 38 ++--- ...a_query_slim_typed_attribute_properties.py | 34 ++-- .../models/gsa_query_tables_request.py | 38 ++--- .../gsa_range_aggregation_datum_criterion.py | 10 +- .../v2027r1/models/gsa_range_attribute.py | 10 +- .../v2027r1/models/gsa_range_chart_data.py | 12 +- .../models/gsa_range_datum_criterion.py | 10 +- .../gsa_range_datum_exists_criterion.py | 10 +- ...h_histogram_aggregation_datum_criterion.py | 10 +- ...e_histogram_aggregation_datum_criterion.py | 10 +- .../models/gsa_record_ancestor_criterion.py | 10 +- .../gsa_record_ancestor_history_criterion.py | 10 +- .../models/gsa_record_export_failure.py | 12 +- .../v2027r1/models/gsa_record_link.py | 10 +- .../gsa_record_link_create_put_layout_item.py | 10 +- .../v2027r1/models/gsa_record_link_group.py | 40 ++--- .../gsa_record_list_member_criterion.py | 10 +- .../gsa_record_list_search_criterion.py | 10 +- .../models/gsa_record_property_criterion.py | 48 +++--- .../gsa_record_property_sort_criterion.py | 48 +++--- .../models/gsa_record_reference_criterion.py | 10 +- .../models/gsa_record_subset_criterion.py | 10 +- .../models/gsa_relevance_sort_criterion.py | 10 +- .../v2027r1/models/gsa_rich_text_value.py | 40 ++--- .../models/gsa_rollup_export_failure.py | 12 +- .../v2027r1/models/gsa_search_result.py | 38 ++--- ..._short_text_aggregation_datum_criterion.py | 10 +- .../models/gsa_short_text_attribute.py | 10 +- .../models/gsa_short_text_datum_criterion.py | 10 +- .../gsa_short_text_datum_exists_criterion.py | 10 +- .../gsa_short_text_prefix_datum_criterion.py | 10 +- .../models/gsa_similarity_sort_criterion.py | 10 +- .../v2027r1/models/gsa_slim_attribute.py | 40 ++--- .../gsa_slim_attribute_with_help_path.py | 40 ++--- .../v2027r1/models/gsa_slim_parameter.py | 40 ++--- .../gsa_slim_parameter_with_help_path.py | 40 ++--- .../models/gsa_slim_record_link_group.py | 40 ++--- .../models/gsa_slim_typed_attribute.py | 40 ++--- .../v2027r1/models/gsa_smart_link.py | 10 +- .../gsa_smart_link_create_put_layout_item.py | 10 +- .../models/gsa_smart_record_link_group.py | 10 +- .../v2027r1/models/gsa_sort_criterion.py | 40 ++--- .../v2027r1/models/gsa_sorting_value.py | 40 ++--- .../models/gsa_static_record_link_group.py | 10 +- .../models/gsa_string_sorting_value.py | 10 +- .../v2027r1/models/gsa_tabular_attribute.py | 10 +- .../models/gsa_tabular_attribute_link.py | 10 +- .../gsa_tabular_datum_exists_criterion.py | 10 +- .../gsa_tabular_linking_value_criterion.py | 10 +- .../v2027r1/models/gsa_update_attribute.py | 40 ++--- ...update_cross_database_record_link_group.py | 10 +- .../models/gsa_update_date_time_attribute.py | 10 +- .../models/gsa_update_discrete_attribute.py | 10 +- ...sa_update_discrete_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...discrete_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_discrete_parameter.py | 10 +- .../gsa_update_discrete_parameter_content.py | 10 +- .../gsa_update_discrete_parameter_value.py | 10 +- .../models/gsa_update_file_attribute.py | 10 +- .../gsa_update_float_functional_attribute.py | 10 +- ...functional_attribute_discrete_parameter.py | 10 +- ..._functional_attribute_numeric_parameter.py | 10 +- ...te_float_functional_attribute_parameter.py | 40 ++--- .../models/gsa_update_hyperlink_attribute.py | 10 +- .../models/gsa_update_integer_attribute.py | 10 +- .../models/gsa_update_logical_attribute.py | 10 +- .../models/gsa_update_long_text_attribute.py | 10 +- .../gsa_update_maths_functional_attribute.py | 10 +- .../models/gsa_update_numeric_parameter.py | 10 +- .../gsa_update_numeric_parameter_content.py | 10 +- .../gsa_update_numeric_parameter_value.py | 10 +- .../v2027r1/models/gsa_update_parameter.py | 40 ++--- .../models/gsa_update_parameter_content.py | 40 ++--- .../models/gsa_update_parameter_value.py | 40 ++--- .../models/gsa_update_picture_attribute.py | 10 +- .../models/gsa_update_point_attribute.py | 10 +- .../models/gsa_update_put_discrete_value.py | 10 +- .../models/gsa_update_put_layout_item.py | 10 +- .../models/gsa_update_put_permission.py | 10 +- .../gsa_update_put_permission_category.py | 10 +- .../models/gsa_update_range_attribute.py | 10 +- .../models/gsa_update_record_link_group.py | 40 ++--- .../models/gsa_update_short_text_attribute.py | 10 +- .../gsa_update_smart_record_link_group.py | 10 +- .../gsa_update_static_record_link_group.py | 10 +- .../models/gsa_update_tabular_attribute.py | 10 +- ansys-grantami-serverapi-openapi/uv.lock | 2 +- 1072 files changed, 10442 insertions(+), 10392 deletions(-) diff --git a/ansys-grantami-serverapi-openapi/LICENSE b/ansys-grantami-serverapi-openapi/LICENSE index 69af3d3e..3fc138d8 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 583bbf63..42ddd5c3 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 842f3917..ae1672ad 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 f443d2f9..1922c833 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 b74486ef..a6e56f2f 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 3351e950..ba377ad6 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 7a370a5b..def10253 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 03b4a300..ee862097 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 88b9785c..27121ab0 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 0b30ceaa..fe0af6dc 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 7d61c572..a8ee83c0 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 ced06524..d6117e33 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 f0e7587d..2bd8d1e0 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 eefbb581..8c5d28a5 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 030bd702..8f319181 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 e35c7137..76340ca7 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 5f505a9f..d911eb20 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 705e44fe..ea3d2a36 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 6f4553ba..271188c6 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 b6389c1d..09a66bcb 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 3948ce56..2d7bf606 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 758ad31b..a8c58360 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 4b62bb92..c2ba91f6 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 490d9c8a..fdd8b7ec 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 a43d55c4..99df0931 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 c873b816..a12fd9f3 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 2d6eced4..4d9138ef 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 9a3e3cee..550eafdd 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 79c378d0..333cd943 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 a76dda37..59c206e6 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 c394b17f..a5cd7de4 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 2b255809..40d94fde 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 42e7deb7..a6e888a3 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 1b802c50..fcfe3093 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 7a90eeed..e91368fe 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 a8172877..fb65a79a 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 c7fe6159..91b08ddc 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 f3459306..f0e5221e 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 5eacf67e..8e4a4b40 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 9ea8a6af..ffc229c7 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 4dff8277..df283446 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 7680f202..a4ad76d0 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 1636cdbe..cf9e21ad 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 13881232..5139570d 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 58758762..1ecaf503 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 616e7350..f4d5f7fc 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 e3273d76..b28aa993 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 05bd7953..4548472b 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 0503ff63..e52a056d 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 aa1acc71..0b7b9479 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 eb8e7eea..1f543e22 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 28dea6a4..8679a90d 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 2347f4aa..8af49810 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 e5bf220f..45efb53e 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 a7350791..5889edb8 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 8d285026..8a68d437 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 fbdb11de..db0515f5 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 ffd8dd4a..31fd9419 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 56cd9a13..1249e3eb 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 7fdc848f..80e91e8c 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 a583961c..c60775c6 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 4a21bdae..87cb79f5 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 e9bef7d1..21e78231 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 eb6e5968..9958daab 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 43346348..69835d60 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 8a381a08..fb220fb9 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 21138458..719d69d9 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 e356c878..3cf89395 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 9770d26f..651ee834 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 8a0b7df3..923f8889 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 597d5ce7..4408eb74 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 2a1509eb..3b3a03c3 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 c330c4c5..c3b3df8d 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 606dfaeb..afff52a4 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 65bc1182..7d0ee97a 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 b2f4cda5..30fa69cd 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 3460b9a9..7abc2635 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 bc9cf760..3225b450 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 f513faae..c23e5387 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 3c8934ee..8501b5a9 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 e45feba5..8160cc75 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 af4f2101..a26cd58b 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 507ee75e..5a64ebb8 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 c192d7d7..4030d4fc 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 e2b4b6f0..869d5882 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 f9b4b759..b1dbdb9c 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 05783ef4..f833feee 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 4b9c3e2f..e4adf130 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 667c13e7..169c2fc1 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 406e53a8..7c2f6d22 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 805e686f..a3b71540 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 97d0371a..dee28801 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 e8f8429f..6965fa87 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 033a456a..d42cd536 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 bb1285ab..19ce4ca7 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 c5cc13c2..afc3c845 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 c92ec9c6..f31f9a60 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 ac977d03..771b3ebf 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 ccdd0c33..60bf14e1 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 68d386f6..3b23f079 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 d5312662..2ac33e97 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 c94216f8..53c0e8a0 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 65e76a25..fefb9bc3 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 34741d9d..dc7f90bd 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 fde8609a..2cad9c66 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 14790cc5..4a0b0f92 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 a8f97895..7994fb0a 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 69aae60f..8fae49a4 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 3de1932b..ad09e54c 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 e28744a9..a3df93e1 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 a0726ba3..17051b17 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 1cafe842..531b5ab5 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 0a91b3da..d09acec4 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 4b9cff40..76c59025 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 82d17576..ac611735 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 7cbfd71d..63741525 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 7c16ed72..fbd07989 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 7d984396..19adb68e 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 58223019..ded06862 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 7e08932e..e13b7bc9 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 ee3a8286..bd52b0a6 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 d54ac248..423aed1f 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 916d23aa..e6c0c98c 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 eeb3a06a..1c30ffd2 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 85cfcd87..479d1774 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 0a3d4198..d8d2482c 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 b657164c..c8a855e3 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 e6a64969..5c4bd7a1 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 508541fc..b2ba6f06 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 c2af4253..a86d0b76 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 e4df96ed..cc7260ec 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 41543e98..6946d8b6 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 e279433d..a6b38fb0 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 3ed524e4..988042b1 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 7ac0d6c2..1e0686f0 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 a846b692..9cf5f7e1 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 6f44e6d4..a928e0be 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 9290a72c..a6bf59eb 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 45c8fc55..ac60e1f8 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 c93c82f0..22114191 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 609570be..6220974e 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 74d35a3c..bf8f5974 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 98d617f0..af83aa95 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 80b85bbf..2d9ef889 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 6a98c427..58e9b7d2 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 23a5db86..4d858f65 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 eaa29bf2..c863e35a 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 81f6235b..eb4ea654 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 39f09115..06ac8cc8 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 be5330e3..894ee53c 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 a973c3be..8d3af063 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 55f9a313..081885db 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 4d7aa89e..192cf8b4 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 accbfd0b..74df05db 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 7a56cc3c..244eeb04 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 b7d8224e..86c9cf6b 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 6224b3f5..45f8d78a 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 e6c84930..147d6947 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 d80b3ca7..e7306fcd 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 fa2de85b..03a94e24 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 cf8045ff..8e65e8b5 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 4a86769e..e4d91e0e 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 51209ee4..37127958 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 9b683268..cac6c4b7 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 42877446..29141398 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 be41040b..1509762f 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 f26d365c..638ee31e 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 e20d5c76..dab2a3e3 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 48f6162e..60bdc880 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 4ea6fb22..f9f619a7 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 76d6c6fa..353ebe98 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 d15b1040..018e6a5e 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 14c01159..106c1299 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 5bf1ed17..a07312d5 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 09808290..dc523004 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 2147e91b..c64da2bf 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 98d9dfc6..fd677576 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 1f2d0087..cb23b095 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 d68f3186..415ff0a1 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 37339fd5..adbcb35a 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 6582c5db..a9cf0c2d 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 1ce3c02b..90681961 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 28e76b96..3f3644b7 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 e25c5398..f44df525 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 cd627e60..e7d7225e 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 5720535f..6fdc1711 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 582c3876..0ec00c86 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 1b317cc2..e178d79f 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 d536c821..a4074776 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 744d89a7..cbba1c4a 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 8a90bd24..44344302 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 afbe75ca..7cfe1b25 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 ebebd6fc..e251449d 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 0be8ed75..fe5d8ee0 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 c249580d..33c725b7 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 359eec43..54473d8f 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 7559848d..6834a31d 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 1630bdea..5728df8a 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 dda192d8..c9064965 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 451a26b3..8cc7ba3d 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 3e0cfeae..4149ab49 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 1a7440a3..880c3dbe 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 1797b9c0..65a84ef3 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 d3fdd0f6..f8982b50 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 b82372b7..a7b04d02 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 ffab8d02..6c7642ab 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 3c389fc5..10bead26 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 ad5bbdee..6ba7260f 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 7f4bfe06..12d59788 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 25dedd3f..38a4352e 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 0c87eb49..992848ef 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 70a05909..5dc7d068 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 d2435aad..44672fa7 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 8cefb9b8..793ba532 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 fecc14bb..ee18356b 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 37500e13..b9c071d9 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 c96e6efa..b56c1ebd 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 18e30111..ea7965ff 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 f02afd05..b0f7979b 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 5dec8eac..1aed6e56 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 923c3144..be9a815b 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 78eca0a5..4be1e2f7 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 e5cf5320..103e263f 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 c348b312..0b31a678 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 d96e7505..2874b335 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 45a8a7cd..0c700243 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 1c117a8b..7935e6d2 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 98f8482d..d823f8c0 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 9b7e8e6a..ef6ecfaf 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 174993e8..27f08ea4 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 b4c835ae..c79788b9 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 537994d6..3b96ee98 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 8a844ec3..1be705bd 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 b83dc1c0..f8b7c0f8 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 6b688471..88b083fe 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 ed815069..405b38d6 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 6034f86d..24c58874 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 ea48edf7..fd0c8c76 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 1f485080..4aa98eff 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 5356c841..910f1033 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 df365644..445808bd 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 0911c770..ef7139b6 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 b5562929..8bb770ce 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 1848c796..f3c032bd 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 1d0863d0..6ac26743 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 aec3c94c..d45ea939 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 a0479783..97fd6da1 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 fe1fb0d6..27efe4f2 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 9965a279..3cc79158 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 dbf71df1..abfafab9 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 b993f77c..07722ed5 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 b3a52f33..0dc59bbd 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 f443d2f9..1922c833 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 39b41e94..896b23f2 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 b74486ef..a6e56f2f 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 3351e950..ba377ad6 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 7a370a5b..def10253 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 03b4a300..ee862097 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 40ee400a..6443bbf4 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 693ddbe2..3f396b00 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 6a37b570..14a939c5 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 7f72b0d1..66fca610 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 2154ddbb..bcd53adf 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 15fca81e..6d2b35f4 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 a8c4a30a..055cd1ef 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 49f93ca1..48bd70f3 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 585417bc..d359de7e 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 4742be97..859ec4bf 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 fb8528c6..0b657fc8 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 e31d0a12..d0148207 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 7491685a..119522db 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 87abb3d1..4d120b69 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 0cbbf8ab..a9f25c02 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 ded07643..a39c1540 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 9f8d6f71..d449f434 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 3b3e06ec..199db3f5 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 ecedc267..71ec30e1 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 862820a5..76e32730 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 d61cad20..14cc5f82 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 a76dda37..59c206e6 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 2124995d..82a4a15d 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 d0db41b3..63c21da7 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 37b7ac99..e9827d2a 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 7e256beb..d43bd111 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 f31c29a2..e35f6fec 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 9e3e84f8..4e095eef 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 a0d3eb7c..91ebc1ff 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 724cedbd..fdf8a6ca 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 5eacf67e..8e4a4b40 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 38668a52..979ee0f2 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 2d20eda1..eb94092f 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 7680f202..a4ad76d0 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 c32ec8be..fa8a7207 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 5fa5ba27..ccee00f2 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 6220e21c..a23a977b 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 b50e5455..85dadb6c 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 e814658a..c8de9064 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 f6455d2a..0bc13c6f 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 0503ff63..e52a056d 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 aa1acc71..0b7b9479 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 eb8e7eea..1f543e22 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 40974881..47f50cae 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 5760eeaa..b45ab50d 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 094770d1..fe67bdd5 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 a7350791..5889edb8 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 deec9f9b..acd1a540 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 bae01637..12b948d0 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 2eef2ac4..8617148e 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 c3873fab..0043c884 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 0839f5e3..b3658283 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 4645413d..881b720e 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 3c8a920a..aeda6804 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 804cf497..53fc82cb 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 2028725a..de1450d5 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 39bdf429..186dd996 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 ec331f87..9981586e 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 b5694862..104096e8 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 de2f8577..d2ba0682 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 9166b5a5..b7250fd4 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 1f76c2a3..e71bcb2d 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 cd94c1b6..ce850beb 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 807301ea..a000cc16 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 c330c4c5..c3b3df8d 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 7a84ba41..d37a68b9 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 70318b37..0389e94e 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 65bc1182..7d0ee97a 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 73ec547f..4e3836de 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 feb70ebf..20892c32 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 1b36abea..dd76ffcd 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 bf3524ab..3d175443 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 c11d50e5..14becc0d 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 7f062f37..df747eba 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 1fa88435..6e81e2b2 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 f7471c01..d307303e 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 14764dcc..daed8dfc 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 f9b4b759..b1dbdb9c 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 117d621f..8e59f352 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 df8c9ded..4c5b08f3 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 a2a6a9e0..8fecec83 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 fcded7a5..0095d95c 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 a4dc64f4..70d2d28c 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 ac64ced7..4afc24c4 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 2889fbb3..d186e26f 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 ecad4855..990ca187 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 48a549f1..e8dd3d05 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 3d21ca25..d4dda878 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 5f7a15d8..66d01763 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 1fa390ee..deb9b440 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 9d2bb95e..b31cdcce 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 d4b6e0ab..6fff6f99 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 e327e69f..622af2c7 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 d64a520c..bfa32ff2 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 153b1fba..056ad11f 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 73083dc4..9febca17 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 f8f09933..5745d315 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 14790cc5..4a0b0f92 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 3e88a7ff..1e3eb83a 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 1bd078d1..07cbd5ca 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 cd3166e6..d8f83cba 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 9c408a76..1dc4abc8 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 35bdbbc0..e576f4a4 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 a227f924..7b0a9a8b 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 33e00768..0535ee58 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 fff081ba..18d2b9ae 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 82d17576..ac611735 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 30cda65a..acb63bfc 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 ea03c947..87f5affc 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 3b43c2f9..72f65f2b 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 5b770699..a55de88b 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 334a2868..7b875664 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 649776ba..7e109803 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 511b46da..f1e10062 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 4321a1bf..65ae8d92 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 4f282b60..8b207b16 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 24dc7605..820b2fe4 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 8ed9fcc7..df427d12 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 a4175ae7..e03ddf62 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 3406345c..90e9711d 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 0106c4b3..4c351796 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 e7102ee6..2a97d0c1 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 d2fe253e..cff1489d 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 f78e59a1..c9f8c3a1 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 414e8d87..6de8796c 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 2bd9bde5..cbc815db 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 7ac0d6c2..1e0686f0 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 25e423a4..4f211cea 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 d1069455..3fdcc59f 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 459aa884..23b50dd4 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 8ebf9bf7..73c761c1 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 e28424a2..ddf1bea0 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 3318f55d..92116487 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 74d35a3c..bf8f5974 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 11fe25e2..d7de2680 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 ea0c0939..38226bb8 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 df42a144..b27f6d57 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 f4d83330..274b635c 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 920e3c41..5cb64934 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 23d1698f..c6430e9d 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 8b8e08f5..a166f3c3 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 8186d9b5..045a8a01 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 c333ce84..645c8d52 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 a00be29f..d5949845 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 9ff83d26..c6e77707 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 fd8d29d1..fee67ac5 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 700a8bc1..0dab037c 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 d4012c55..16bc4bad 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 9d23451c..ad10d5f4 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 f38f983d..66989975 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 dd92f0db..173ccd26 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 bb851b2f..6290271f 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 bbc388f5..b489c7b4 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 aad9a94d..3d4074c6 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 6d61ad7b..56d91214 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 9b683268..cac6c4b7 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 42877446..29141398 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 be41040b..1509762f 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 f26d365c..638ee31e 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 c50bd7e5..d4e92a2a 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 7bbf9976..c3da9ea0 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 892f49d1..94b3d293 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 064a8386..21ba2fde 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 59661b08..c7a5be3f 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 29906387..28a0cc40 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 e50f1ddb..fa6911ec 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 47966bfb..fbbc863d 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 0a2b643e..f677b4ec 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 672d721a..cff75c06 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 42ab0851..501a0322 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 274865b2..bd01480c 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 37339fd5..adbcb35a 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 66f4bd6e..07206bb5 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 3d861a9c..1e8c4b2c 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 64edd629..00752db1 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 d82a6bb6..16ca5f53 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 e4d750b0..a3822a50 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 0fe59302..e213c25e 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 21cb726a..83f0e022 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 f2686689..a970450c 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 682735d4..1018b085 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 7c5d74f8..f3fb627d 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 aae33b5d..93654340 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 d8163ad4..ac97bc04 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 8754f629..aec2c4aa 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 744d89a7..cbba1c4a 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 64bd5697..ff4b64dd 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 1155d170..0c0c7507 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 4234be35..80088626 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 73e07ac9..1acff3b0 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 75a01b9f..4f00c52c 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 a276cf3c..bb1bab1b 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 1fe6fec7..f2bd1824 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 1630bdea..5728df8a 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 dda192d8..c9064965 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 433bf8c7..4f67545f 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 c222c560..6bb61145 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 75f2c55d..350ac626 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 63189154..ed434b95 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 7a509fa9..b3444957 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 074fe2f9..cfc81db4 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 0e609b13..6555812d 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 3c389fc5..10bead26 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 ad5bbdee..6ba7260f 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 7f4bfe06..12d59788 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 25dedd3f..38a4352e 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 0c87eb49..992848ef 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 70a05909..5dc7d068 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 2593244f..f73522d6 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 b73c4bde..32f76c05 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 7cc442a8..cd9d1d26 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 b2dde341..b951d48d 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 78a7edbe..739ec44e 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 a31604e3..78b07e8e 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 4e2d6259..675b5d88 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 0bccc0c5..f3a58ec7 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 f082f8ed..e560825a 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 d2f57e7f..7aeea9fe 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 caabcd71..dbc8368d 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 80889993..6dfb049b 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 d96e7505..2874b335 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 39b2971e..ae60ea69 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 8d60d89e..03470251 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 2938caca..6c17ba39 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 c60b7ae0..f31adc93 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 42f283e0..1a178b7b 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 cfdb6721..99ce022a 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 d262bb2b..f3743df7 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 1a8b1c61..38362aca 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 b83dc1c0..f8b7c0f8 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 007904f5..b974a0b1 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 fcd77520..9720b29e 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 ac36b0be..c8c49e73 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 404c4412..afc3d7f3 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 95029b70..120b94fd 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 5357ec71..c5b1d207 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 dfa22faa..11fed2cd 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 be22bffd..9c872bd9 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 b5562929..8bb770ce 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 1848c796..f3c032bd 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 1d0863d0..6ac26743 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 50278e92..675d72d0 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 2672946e..7260dd1e 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 bdad91cf..5369ad47 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 9965a279..3cc79158 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 900b05ed..89ad95bd 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 3f0386a9..3ce4b324 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 10c78e1a..f1fb40e0 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 f443d2f9..1922c833 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 76a00ac7..e2e5c689 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 bd451344..dfa091bf 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 96c6364f..89da7fb7 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 b74486ef..a6e56f2f 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 3351e950..ba377ad6 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 7a370a5b..def10253 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 03b4a300..ee862097 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 a5d69fa1..62062b53 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 c7fd17ee..4106b35a 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 922f03d1..d8ba0582 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 814d4f3b..61923959 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 d273d085..942e6246 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 5060d114..8046e73d 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 68d84c52..5471513a 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 63c2682c..4bfe567a 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 6eeef8f4..d547aa84 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 de0489c2..3163b2a1 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 78c30f4b..e58d191e 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 6e39bc25..c0160837 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 ca810d89..d0c28406 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 e4731685..29a9a398 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 6f0cd99c..4b1a6ce6 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 46cdfd72..5420a578 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 6d2c3055..e6cdd2a6 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 da14f591..d1ed26fe 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 b16622b8..cfe2dd7b 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 a982ffaf..f061601d 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 d94931b4..fa6a4684 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 a76dda37..59c206e6 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 848a4e88..627a587b 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 e378d283..4fe73b5c 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 553871eb..1fb2b5ab 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 407882f3..cde59349 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 dd5a188c..2e0f1eff 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 09e13012..3fbf12eb 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 a138688d..894af111 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 5eacf67e..8e4a4b40 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 d4d05bab..1031881b 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 f707baba..4ff1f761 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 7680f202..a4ad76d0 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 6e802ce2..74cb087b 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 8d3b5d05..6b622650 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 2b66c678..3301cac0 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 b4de36dd..744e916c 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 f2ab2fb8..f81d3f47 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 34859051..fce8be54 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 0503ff63..e52a056d 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 aa1acc71..0b7b9479 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 eb8e7eea..1f543e22 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 d3a89266..6d353918 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 86a4c606..742bd5da 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 7fbcb13d..a1b4ae82 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 3faae0d6..07c6101d 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 e7255108..3c6fb59d 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 3fcbc04e..27700417 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 5b0b0f68..a5d06e5e 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 9cefb03f..b3ae5b03 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 a793b264..2b1ecc13 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 c3873fab..0043c884 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 bb271f11..e9284009 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 d8c630c3..fae9270b 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 6dd66868..67b4f8b8 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 4bf9608e..c668e92d 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 804cf497..53fc82cb 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 fea4d738..9cca4f4f 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 36bfe67f..d2cdd8f5 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 66d4b905..9dc0f42a 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 8ec38ffa..8d844a60 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 e1428abf..c7f99c40 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 49660a4e..f57a0988 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 084c652a..7f29a464 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 6b070d83..91b26e76 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 0fceeee7..c374e8f8 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 f22d11c6..a0cbf483 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 ea81376e..79a24ed1 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 44982909..cafa1b9c 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 7a947979..12a9a930 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 65bc1182..7d0ee97a 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 af4f6d40..7b66e15d 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 6d4c7bbf..c56f2636 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 5fc0005d..68aa36d1 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 bf3524ab..3d175443 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 89e1bf65..d2403183 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 8377b2a3..898e7d47 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 00c8f7e7..86b60745 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 b50a342a..b5be033a 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 aa50c467..5605ec26 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 f9b4b759..b1dbdb9c 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 507699d1..b06bb6f6 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 7ae8df6b..8fdc0960 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 61867c72..504235a7 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 cd204661..c6e4e351 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 044d6d61..927afc4a 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 bb0a9eff..cbf14a4b 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 5495c0fe..38d8e44e 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 88005bb0..963e1d8c 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 18fdebb9..4561b0f7 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 af0956da..4f07c998 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 584a7cfa..94bcc782 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 fa5d967b..0ae6fe1f 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 abae717b..45a3ae18 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 0454b995..3caf716d 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 39e4b89d..f6a83b5b 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 fc837e51..5467bec8 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 5cf1a7df..d0ea56f4 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 357a08c9..606184dd 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 14790cc5..4a0b0f92 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 fac6d769..b499b6d6 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 0e730ea2..32fb7855 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 b8a08f39..3068c43e 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 ea3c471f..2ab91c83 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 8c7b4ae5..4edf2c91 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 771e331c..b512672c 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 a3e87d1b..1cf741e0 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 00521a73..744cc79a 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 82d17576..ac611735 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 4ef12925..8e496dae 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 0e790c57..c8346ff8 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 59c13900..3cea7879 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 db2d0611..4ffadf98 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 380bb08a..0d1e32b9 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 f67ec2a3..706e91d2 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 ca16715b..9cceba62 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 4321a1bf..65ae8d92 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 66cd26a1..2aaf0b64 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 033f8eba..c28a75b8 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 0cfd4f1c..a83448ea 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 ae1a7ac4..3e8fee9c 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 75793075..6033492b 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 665b024d..a9b910e4 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 0fa1e994..97de1f40 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 b5a89e24..b0bf6107 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 809e6bd7..273507e6 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 adce34e2..5a403fa1 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 2bd9bde5..cbc815db 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 7ac0d6c2..1e0686f0 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 9ecbd290..ecc77872 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 a17600bd..24cb68b8 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 385cbcc6..f11d7b1f 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 24fd7dcd..6d2d9003 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 d54f5914..72c23516 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 d7e4ac57..46fb0f76 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 c8693442..dd799c55 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 74d35a3c..bf8f5974 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 79f86703..c74fa38a 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 5ecf95a3..f51e2d81 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 2ab432ca..a2b67832 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 8b4350fd..07268f77 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 5b0536c1..d59cf0fa 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 84f02bd0..79fa9d53 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 acb74fbb..8ac5e6ab 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 9d72b460..c44954a6 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 699126cf..f7def3fe 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 929a7b8d..01052b0c 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 39217889..cfb30416 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 a1410051..552e6c19 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 fd9b79a4..3dddbbaf 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 a6ff9fd6..fe687ce1 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 f1fd1409..a8307325 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 2b6058da..373b56ff 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 3ed8ca51..0110e0cb 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 843f0c19..eafc499b 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 41eadd5e..61990939 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 59a7cedc..8a41d206 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 b9f1db3c..3d125844 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 a2a506a4..3f077a7e 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 9b683268..cac6c4b7 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 42877446..29141398 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 be41040b..1509762f 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 f26d365c..638ee31e 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 4cef8db1..367c8c90 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 ec74dfdc..888fb178 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 11bfca5c..be4729b6 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 b8cdc303..d3a9cea3 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 c0998cae..d813236e 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 5a9b8599..886c5ae3 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 8a0ef273..1846d4d3 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 80a605a6..f965c2b8 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 206326d4..90ca2769 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 f094d40b..4c5b9062 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 ee35347f..3ae3f21f 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 42ab0851..501a0322 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 e7e4ae4b..9d49f451 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 37339fd5..adbcb35a 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 66f4bd6e..07206bb5 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 c2282c2f..a50734ec 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 d37b1f2a..7da117bc 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 3d861a9c..1e8c4b2c 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 64edd629..00752db1 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 d82a6bb6..16ca5f53 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 ad95af5f..79888218 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 06cfdc0f..5581494a 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 386bd503..02ed5a5e 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 2a01529a..52baed46 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 2a63e979..5bdcabc5 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 3853b71f..afd4e8e3 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 ffa9902f..56e3d6ef 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 07fda075..5f801ae8 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 460c874c..edd90325 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 9efad2a5..4e76832a 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 0d6d1639..cefdfcf0 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 4b3176b7..3a5779aa 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 f96681b2..680490e8 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 8d6e7e4a..778934fb 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 dd422a52..766a6355 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 7b2f27cd..7521fadb 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 9408c065..d330252e 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 afb0ba5d..14dd5453 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 dda192d8..c9064965 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 73fd6464..2f2797b5 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 c222c560..6bb61145 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 9ae80845..8f0bd754 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 053d2fd4..5374dbe1 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 15f09534..160a0c0f 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 e04f6c50..a8ac051d 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 0688c28e..585505c9 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 d5dfebf6..9f055c62 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 8a7559d3..9d1bd7ac 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 ad5bbdee..6ba7260f 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 5260a220..a9d45a3a 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 7f4bfe06..12d59788 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 25dedd3f..38a4352e 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 9825f5ca..ab84f1ef 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 4d3d5999..aa5d76ca 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 0c87eb49..992848ef 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 70a05909..5dc7d068 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 201f06ed..1eacee59 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 3b1ee407..e50286ec 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 aff1869a..0deca897 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 814b8986..71dbef24 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 0de9e14b..fc0cb184 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 17b9bf39..fc1caa6f 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 c9f5231b..068aeffc 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 2ff9de35..6f71938f 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 04ae638b..978665bd 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 d1e4e139..c3e2a84e 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 12b5bb3b..b8e509f7 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 d294eaf8..12b72fef 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 e775d87d..903cbb7f 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 d96e7505..2874b335 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 34b6dc9d..f03100b5 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 46505c09..d48a63aa 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 313e857b..4974f3d1 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 57b8c9ac..43bd9b53 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 3af3db95..8e80be0e 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 dbc3039a..0889d2a8 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 d0f0e1a8..fa73358c 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 b83dc1c0..f8b7c0f8 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 06dc59a8..0f3aae58 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 79cfa494..001fcd04 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 3b40eae5..14baa9d6 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 c91798a5..79ab673e 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 9fd0a7df..141912f4 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 1930c671..01a8980e 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 078c8e4d..2156fc93 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 deb006b7..f161de34 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 1ede151c..63829d83 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 1848c796..f3c032bd 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 1d0863d0..6ac26743 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 12611bd4..737bbd87 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 67b62b66..f36aede2 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 67dcfca1..c265afef 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 b05c5ade..76d8f650 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 623002e4..216891d6 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 17845a91..306ede7f 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 27b5f82f..7a2b2cda 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 aa19d9ba..3e67cf78 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 b7ad3deb..86447043 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 f443d2f9..1922c833 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 f838abad..c884ea24 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 081ca935..f7d2cfb9 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 96c6364f..89da7fb7 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 b74486ef..a6e56f2f 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 3351e950..ba377ad6 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 7a370a5b..def10253 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 03b4a300..ee862097 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 84205578..ca5d10e5 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 112da011..793f5f66 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 ec6e3ec1..2b033823 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 de753d04..fe84a835 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 966b141f..469c8b5e 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 1041dbcc..70bc52b6 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 dc070f47..7dfa234b 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 c7bac34f..d8240082 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 a2d2cc5f..0aec098f 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 65faac74..33547a9f 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 fbaee62f..ffc8a0e5 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 8e57fdf1..f041a923 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 9009a868..4938de19 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 fc7f62fc..db0ef8ed 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 ab523a29..b092f8d1 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 b7ef1d83..d92900bd 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 21882cd1..daf23393 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 e9c94f68..3422eac8 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 6f0cd99c..4b1a6ce6 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 65bc1e94..ee1a6bdf 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 7c8034b0..b1c2ecf6 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 5349a92f..bf651512 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 c4be0dbe..c1b1fd6b 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 cf6aee57..49015a73 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 709bbeb0..ee383391 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 96f1cdee..46b0322b 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 a76dda37..59c206e6 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 67eb7e79..d5cbdef2 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 5dbb40f2..d37487d2 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 ebe58a20..fd927939 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 eaa12982..44b2d1bf 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 25302d6a..eaf97523 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 2f2fd715..298f84bf 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 4749703c..482f295e 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 e00ef0de..7617907b 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 5eacf67e..8e4a4b40 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 083571a5..c1bc2138 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 961d4644..f9259567 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 7680f202..a4ad76d0 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 ca8a0fb6..d8dc3808 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 7ed0053a..39b5de44 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 b4fd1044..df34591a 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 f9ce7ff9..a5006b54 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 e8550430..4a6f0d1c 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 cb7a81f5..b04a5908 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 bfcc8b07..9712edc4 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 aa1acc71..0b7b9479 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 eb8e7eea..1f543e22 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 43a394cc..9c63e73c 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 fc8d71fe..c0604bf5 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 5c12acf9..9163d4d8 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 f172326f..53429328 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 74d06e41..f5a560a7 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 fb858d37..d906b0e7 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 76734c3b..833fc66c 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 fce633cb..a970ff09 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 e7255108..3c6fb59d 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 cfd6b3af..b1008f5b 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 180d380c..e96b3f0f 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 564fddc7..ec4f9e06 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 22d3d945..b04bef6d 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 c3873fab..0043c884 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 42f7b277..5b243f94 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 84c2e4ec..c21ca504 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 ba86586e..9b24c489 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 b8877d80..9c6cff49 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 b6046f7e..6a60debd 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 804cf497..53fc82cb 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 9091adfb..2d274ce4 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 1889ad2a..57617a8c 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 66d4b905..9dc0f42a 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 a85c4833..ec6892a6 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 88b45998..248f917a 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 96d8af62..087779e8 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 503da8e6..79778ff8 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 19850a5f..f23e9a50 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 06e0d148..469501b2 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 1216bfa6..e9c85bf8 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 ea81376e..79a24ed1 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 39fee75c..1b836fbc 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 3af09190..de34f7f3 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 65bc1182..7d0ee97a 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 93cc2005..04e2c1ee 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 87eeb67a..644e5048 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 8c0a6473..4fde30e6 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 bf3524ab..3d175443 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 0153cc29..dafe8365 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 a3745f3f..a528ef16 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 ab5d2b5d..85c0c0ac 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 bf790670..8ecef801 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 878a59b4..31c809ce 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 b3f5015f..1499b62d 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 f9b4b759..b1dbdb9c 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 16bb1855..b30c52e6 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 5a57d7a5..8741fc3d 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 c1879279..6333eb4e 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 e43e991b..705090a2 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 05286281..2a48fbea 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 64cc3c1e..cd04323f 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 d54d9e4a..93bbdf3d 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 3216e53f..d12cf022 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 6be41fd2..86c9f17c 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 3816ad1b..6b859bd7 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 45ef881d..66ab70a4 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 d1055c5e..6c79f255 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 4228d279..1a07325c 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 08777f6e..8a8966d3 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 b1522ecf..e6dc70db 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 2dd9cbce..86104c59 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 dad8f2ca..7b8539c4 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 c87bca1e..c13467d8 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 0572f458..7597bf7a 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 14790cc5..4a0b0f92 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 b0edff80..9aa261fe 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 aca9c075..59fdbe79 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 f4ae6c27..01ad0c45 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 1f4aef74..7cd64275 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 55418999..06a1c06e 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 ad5991fa..05ea659a 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 5bcdccbc..a22f77e8 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 3afaeb04..ed009755 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 82d17576..ac611735 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 4d5dbf3a..61d9ec85 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 8855411c..a8377339 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 11e1a14e..861c8acc 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 0e9511f4..18b2c640 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 55402cc5..2d672caf 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 2042e344..a75f2db8 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 a7e4d3ad..417c8fbb 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 4321a1bf..65ae8d92 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 fae40071..5732bb00 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 6ddd0cb0..9ea3aec5 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 af38ad5d..3f5f7a10 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 5ab5e43e..31e3cf5a 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 dfacb509..a954d8e1 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 d1ff4137..12167474 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 c909ba8e..b19f3a48 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 42e85e43..da857f40 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 026bdb66..fa8d0a11 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 405d4788..6aa3e60b 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 921d1389..fc266d88 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 2bd9bde5..cbc815db 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 7ac0d6c2..1e0686f0 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 9fa9fe63..40cf4491 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 7fdf8491..81f64948 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 5026d427..49116410 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 ec89a8a8..1e16b3d5 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 71bd9b8a..e502b670 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 7bc832a3..37568e5b 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 db5e3342..0f7c103c 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 74d35a3c..bf8f5974 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 04bb10cc..5ca005c7 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 b0e52b15..93ef0516 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 72216db0..85ef7350 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 4f7a8282..a051ee54 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 35576514..7586e404 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 28114c78..8c44c67d 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 5f4031f0..60a90efe 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 e92deaf2..67324ab0 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 7b86f241..274d6be7 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 5337b12a..d22e4596 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 d92cce16..75113cf8 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 d710e89d..6a3352ca 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 7455537e..2bbf6b7e 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 86b126d9..ab1f3982 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 27c60fe2..67c4a635 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 d7204f8a..628ad1dd 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 745d6e88..589c6a6b 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 f83a27d5..26f737d9 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 f1275098..9419f224 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 0846817b..42f18d66 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 edcf7f1f..93ffafb3 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 9065a21b..e0249a95 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 a2a506a4..3f077a7e 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 b168d71f..87c4ea01 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 42877446..29141398 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 be41040b..1509762f 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 9794051e..f7a361f7 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 e69cbe76..f57dc8a8 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 f45752c4..f0e5d0f2 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 8d8d7c71..c3eedf7c 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 025622ba..0e9b1b9c 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 584ce421..90eeb580 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 5f1f1fe9..e295e5d3 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 d31377d5..cb48cb89 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 70cb8144..fc2516a6 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 905f185e..7dd042e2 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 d1e398b8..6139ac7b 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 2e07fce7..522392ff 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 f094d40b..4c5b9062 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 0546d5f1..95607bb0 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 bf35e927..37b61d9c 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 1d643582..f6952dfd 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 42aa25a3..a26ba7bd 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 6b0341f4..a64b4eaf 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 ba5d842e..af2a3df7 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 37339fd5..adbcb35a 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 66f4bd6e..07206bb5 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 c2282c2f..a50734ec 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 d37b1f2a..7da117bc 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 3d861a9c..1e8c4b2c 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 64edd629..00752db1 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 d82a6bb6..16ca5f53 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 89f3e563..a1481184 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 17b0ea9e..8bb54d52 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 bf798d6d..a42e5cee 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 deb9c926..b3adf831 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 b52bac2a..1ec0419b 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 6bb8e880..f11c4672 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 c773d785..c85006f6 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 fc1134dd..b515b544 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 0147a548..c1e31c72 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 3105e932..00278cb1 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 d2fa5491..f4a940c7 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 60cba523..1d9f8933 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 e6e5e3c4..f2d78479 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 1e2288c9..59a6193a 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 bb4456e9..0539605d 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 a70b1e9a..3c51da78 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 bec0a35a..581ba59c 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 4d097e94..c706c44a 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 433dba6e..c6b2e16a 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 b42d7ce0..04c6ecd6 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 dda192d8..c9064965 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 7e09d542..7069d19d 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 4473f20f..54176cfd 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 3918eca8..19465019 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 1813d809..d26d4ed6 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 abde781e..c7e59938 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 2b6d234f..cc91142c 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 503446de..d0124f14 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 6dc60408..711f6e91 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 713fb864..22e2a686 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 a6328710..693765f4 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 5d9985c3..20f50285 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 39b9086d..0495e346 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 161dfb7c..4c7d6d0b 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 ce23a029..30826a82 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 e162a41b..6804729f 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 66db797f..b0f419cb 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 ba3934b7..54bc408d 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 3b4ceab7..3114b941 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 70a05909..5dc7d068 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 f5cb4b91..0d4eb8c3 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 fa5bd7b7..236e1d2a 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 ccf7dcd3..fd06a93d 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 daba7213..775f6f0e 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 a42f70d0..8cd8de31 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 d3a93f84..0d8bb7ae 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 ac9c797f..315930d2 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 845a0750..612690f7 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 dc2c127d..a498f319 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 6069426b..883676f7 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 0b71c86c..596530ec 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 2ab35860..58575345 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 3dfab153..14853396 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 d96e7505..2874b335 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 9b9e41bc..ee57baa8 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 d5bebfe5..72619376 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 3efc8e29..e2c593dd 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 b3be3721..c23480a4 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 84f65a65..95b8f1d9 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 09d4cc9d..54381635 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 eff74f5c..135b8b0e 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 b83dc1c0..f8b7c0f8 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 bb31b0b5..3ee9567f 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 5807583a..6f00fbf3 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 36848475..d651176b 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 eb74837b..8e907d02 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 412f56f7..b8f7fe9b 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 18a421a0..5aa1acdd 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 df4719e5..ac686882 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 7a67703f..6c275338 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 3916aa87..c42cb915 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 1848c796..f3c032bd 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 1d0863d0..6ac26743 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 67ad9989..8847db36 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 6815d0c9..7999036b 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 03f7e133..9aec1c9d 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 7760542e..49892140 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 e46d31d6..412e8afd 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 a3073862..2742b520 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 42e4221f..18ff6ee5 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 623002e4..216891d6 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 a3a90fc8..22bcea33 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 2287287c..cc56814d 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 a3a6e8b4..45667e93 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 a4178acd..94a447a2 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 69d262e6..26ec355f 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" },