visier-platform-sdk 22222222.99201.1914b6__py3-none-any.whl → 22222222.99201.1925__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of visier-platform-sdk might be problematic. Click here for more details.
- visier_platform_sdk/__init__.py +18 -2
- visier_platform_sdk/api/__init__.py +1 -0
- visier_platform_sdk/api/basic_authentication_api.py +1 -1
- visier_platform_sdk/api/benchmarks_api.py +1 -1
- visier_platform_sdk/api/concepts_v2_api.py +1 -1
- visier_platform_sdk/api/consolidated_analytics_api.py +1 -1
- visier_platform_sdk/api/data_and_job_handling_api.py +24 -7
- visier_platform_sdk/api/data_intake_api.py +1 -1
- visier_platform_sdk/api/data_model_api.py +1 -1
- visier_platform_sdk/api/data_query_api.py +1 -1
- visier_platform_sdk/api/data_upload_api.py +1 -1
- visier_platform_sdk/api/data_version_export_api.py +1 -1
- visier_platform_sdk/api/dimensions_api.py +7 -7
- visier_platform_sdk/api/dimensions_v2_api.py +2344 -0
- visier_platform_sdk/api/direct_data_intake_api.py +1 -1
- visier_platform_sdk/api/email_domains_api.py +1 -1
- visier_platform_sdk/api/encryption_keys_api.py +1 -1
- visier_platform_sdk/api/jobs_library_api.py +1 -1
- visier_platform_sdk/api/network_subnets_api.py +1 -1
- visier_platform_sdk/api/o_auth2_api.py +1 -1
- visier_platform_sdk/api/object_configuration_api.py +1 -1
- visier_platform_sdk/api/permissions_api.py +1 -1
- visier_platform_sdk/api/pgp_key_api.py +1 -1
- visier_platform_sdk/api/planning_data_load_api.py +1 -1
- visier_platform_sdk/api/production_versions_api.py +1 -1
- visier_platform_sdk/api/profiles_api.py +1 -1
- visier_platform_sdk/api/projects_api.py +1 -1
- visier_platform_sdk/api/release_version_configuration_api.py +1 -1
- visier_platform_sdk/api/reporting_api.py +1 -1
- visier_platform_sdk/api/search_api.py +1 -1
- visier_platform_sdk/api/skills_library_api.py +1 -1
- visier_platform_sdk/api/source_files_download_api.py +1 -1
- visier_platform_sdk/api/sources_api.py +1 -1
- visier_platform_sdk/api/system_status_api.py +1 -1
- visier_platform_sdk/api/tenants_v1_api.py +1 -1
- visier_platform_sdk/api/tenants_v2_api.py +1 -1
- visier_platform_sdk/api/user_groups_v2_api.py +1 -1
- visier_platform_sdk/api/users_v1_api.py +1 -1
- visier_platform_sdk/api/users_v2_api.py +1 -1
- visier_platform_sdk/api/vee_api.py +1 -1
- visier_platform_sdk/api/webhooks_api.py +1 -1
- visier_platform_sdk/api_client.py +2 -2
- visier_platform_sdk/configuration.py +3 -3
- visier_platform_sdk/exceptions.py +1 -1
- visier_platform_sdk/models/__init__.py +16 -1
- visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py +1 -1
- visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py +1 -1
- visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py +1 -1
- visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py +1 -1
- visier_platform_sdk/models/additional_capabilities_dto.py +1 -1
- visier_platform_sdk/models/admin_capability_config_dto.py +1 -1
- visier_platform_sdk/models/adp_auth_params_dto.py +1 -1
- visier_platform_sdk/models/aggregation_query_dto.py +1 -1
- visier_platform_sdk/models/aggregation_query_execution_dto.py +1 -1
- visier_platform_sdk/models/aggregation_query_source_dto.py +1 -1
- visier_platform_sdk/models/aggregation_query_source_metric_dto.py +1 -1
- visier_platform_sdk/models/aggregation_query_source_metrics_dto.py +1 -1
- visier_platform_sdk/models/aggregation_type_option_dto.py +1 -1
- visier_platform_sdk/models/aggregation_type_parameter_dto.py +1 -1
- visier_platform_sdk/models/aggregation_type_parameter_value_dto.py +1 -1
- visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py +1 -1
- visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/all_tenants_status_apidto.py +1 -1
- visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/all_users_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/analytic_object_definition_dto.py +1 -1
- visier_platform_sdk/models/analytic_object_dto.py +1 -1
- visier_platform_sdk/models/analytic_object_filter_dto.py +1 -1
- visier_platform_sdk/models/analytic_object_reference_dto.py +88 -0
- visier_platform_sdk/models/analytic_object_reference_list_dto.py +96 -0
- visier_platform_sdk/models/analytic_object_request_dto.py +1 -1
- visier_platform_sdk/models/analytic_object_with_context_dto.py +1 -1
- visier_platform_sdk/models/analytic_objects_dto.py +1 -1
- visier_platform_sdk/models/any.py +1 -1
- visier_platform_sdk/models/api_error.py +1 -1
- visier_platform_sdk/models/assign_connector_credential_request.py +1 -1
- visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py +1 -1
- visier_platform_sdk/models/assign_connector_credentials_response_dto.py +1 -1
- visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permission_request_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permissions_request_dto.py +1 -1
- visier_platform_sdk/models/assign_revoke_permissions_response_dto.py +1 -1
- visier_platform_sdk/models/assigned_credential_info_response_dto.py +1 -1
- visier_platform_sdk/models/bamboo_auth_params_dto.py +1 -1
- visier_platform_sdk/models/basic_information_dto.py +1 -1
- visier_platform_sdk/models/basic_s3_auth_params_dto.py +1 -1
- visier_platform_sdk/models/batch_tenant_provision_apidto.py +1 -1
- visier_platform_sdk/models/benchmark_info.py +1 -1
- visier_platform_sdk/models/benchmark_value.py +1 -1
- visier_platform_sdk/models/big_query_auth_params_dto.py +1 -1
- visier_platform_sdk/models/big_query_service_account_params_dto.py +1 -1
- visier_platform_sdk/models/bulk_change_response_dto.py +1 -1
- visier_platform_sdk/models/bulk_data_access_set_response_dto.py +1 -1
- visier_platform_sdk/models/business_location_dto.py +1 -1
- visier_platform_sdk/models/calculated_property_type_dto.py +1 -1
- visier_platform_sdk/models/calculation_concept_configuration_dto.py +1 -1
- visier_platform_sdk/models/calculation_concept_configuration_map_dto.py +1 -1
- visier_platform_sdk/models/calculation_concept_dto.py +1 -1
- visier_platform_sdk/models/calculation_concept_list_dto.py +1 -1
- visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py +1 -1
- visier_platform_sdk/models/capabilities_dto.py +1 -1
- visier_platform_sdk/models/capability_dto.py +1 -1
- visier_platform_sdk/models/capability_group_dto.py +1 -1
- visier_platform_sdk/models/cell_distribution_bin_dto.py +1 -1
- visier_platform_sdk/models/cell_distribution_options_dto.py +1 -1
- visier_platform_sdk/models/cell_dto.py +1 -1
- visier_platform_sdk/models/cell_set_axis_dto.py +1 -1
- visier_platform_sdk/models/cell_set_axis_position_dto.py +1 -1
- visier_platform_sdk/models/cell_set_dto.py +1 -1
- visier_platform_sdk/models/cell_set_or_error_dto.py +1 -1
- visier_platform_sdk/models/clone_files_into_source_parameters_dto.py +1 -1
- visier_platform_sdk/models/cohort_filter_dto.py +1 -1
- visier_platform_sdk/models/commit_and_publish_operation_response_dto.py +1 -1
- visier_platform_sdk/models/commit_dto.py +1 -1
- visier_platform_sdk/models/concept_configuration_result_dto.py +1 -1
- visier_platform_sdk/models/concept_definition_dto.py +1 -1
- visier_platform_sdk/models/concept_delete_request_dto.py +1 -1
- visier_platform_sdk/models/concept_delete_with_context_dto.py +1 -1
- visier_platform_sdk/models/concept_request_dto.py +1 -1
- visier_platform_sdk/models/concept_response_dto.py +1 -1
- visier_platform_sdk/models/concept_type_details_dto.py +1 -1
- visier_platform_sdk/models/concept_with_context_dto.py +1 -1
- visier_platform_sdk/models/connector.py +1 -1
- visier_platform_sdk/models/connector_info_response_dto.py +1 -1
- visier_platform_sdk/models/connector_setting_request_dto.py +1 -1
- visier_platform_sdk/models/connector_setting_response_dto.py +1 -1
- visier_platform_sdk/models/connector_settings_response_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py +1 -1
- visier_platform_sdk/models/consolidated_analytics_job_request_dto.py +1 -1
- visier_platform_sdk/models/content_package_dto.py +1 -1
- visier_platform_sdk/models/copy_s3_auth_params_dto.py +1 -1
- visier_platform_sdk/models/create_data_access_set_request_dto.py +1 -1
- visier_platform_sdk/models/credential_creation_api_response_dto.py +1 -1
- visier_platform_sdk/models/currencies_dto.py +1 -1
- visier_platform_sdk/models/currency_dto.py +1 -1
- visier_platform_sdk/models/currency_rate_dto.py +1 -1
- visier_platform_sdk/models/currency_rates_dto.py +1 -1
- visier_platform_sdk/models/custom_property_dto.py +1 -1
- visier_platform_sdk/models/custom_tenant_property_dto.py +1 -1
- visier_platform_sdk/models/data_access_set_dto.py +1 -1
- visier_platform_sdk/models/data_access_set_error_dto.py +1 -1
- visier_platform_sdk/models/data_access_set_failure_dto.py +1 -1
- visier_platform_sdk/models/data_access_set_success_dto.py +1 -1
- visier_platform_sdk/models/data_categories_response_dto.py +1 -1
- visier_platform_sdk/models/data_category_response_dto.py +1 -1
- visier_platform_sdk/models/data_load_request.py +1 -1
- visier_platform_sdk/models/data_load_request_model.py +1 -1
- visier_platform_sdk/models/data_load_response.py +1 -1
- visier_platform_sdk/models/data_model_analytic_object_dto.py +1 -1
- visier_platform_sdk/models/data_provider_auth_information_dto.py +1 -1
- visier_platform_sdk/models/data_provider_auth_params_dto.py +1 -1
- visier_platform_sdk/models/data_provider_basic_information_dto.py +1 -1
- visier_platform_sdk/models/data_provider_basic_metadata_dto.py +1 -1
- visier_platform_sdk/models/data_security_profile_dto.py +1 -1
- visier_platform_sdk/models/data_transfer_result_detail.py +1 -1
- visier_platform_sdk/models/data_version_and_date_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_column_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_data_version_summary_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_data_versions_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_file_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_job_status_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_part_file_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py +1 -1
- visier_platform_sdk/models/data_version_export_table_dto.py +1 -1
- visier_platform_sdk/models/data_version_exports_dto.py +1 -1
- visier_platform_sdk/models/data_version_object.py +5 -3
- visier_platform_sdk/models/databricks_auth_params_dto.py +1 -1
- visier_platform_sdk/models/date_range_dto.py +1 -1
- visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +1 -1
- visier_platform_sdk/models/delete_permissions_request_dto.py +1 -1
- visier_platform_sdk/models/delete_user_group_v2_request.py +1 -1
- visier_platform_sdk/models/dependent_dto.py +1 -1
- visier_platform_sdk/models/description_entry.py +1 -1
- visier_platform_sdk/models/designer_dimension_filter_dto.py +1 -1
- visier_platform_sdk/models/designer_selection_concept_dto.py +1 -1
- visier_platform_sdk/models/dimension_change_definition_dto.py +1 -1
- visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/dimension_delete_request_dto.py +96 -0
- visier_platform_sdk/models/dimension_delete_with_context_dto.py +98 -0
- visier_platform_sdk/models/dimension_details_dto.py +98 -0
- visier_platform_sdk/models/dimension_dto.py +1 -1
- visier_platform_sdk/models/dimension_filter_dto.py +1 -1
- visier_platform_sdk/models/dimension_mapping_validation_dto.py +1 -1
- visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py +1 -1
- visier_platform_sdk/models/dimension_member.py +1 -1
- visier_platform_sdk/models/dimension_member_dto.py +1 -1
- visier_platform_sdk/models/dimension_member_reference_dto.py +1 -1
- visier_platform_sdk/models/dimension_reference_dto.py +1 -1
- visier_platform_sdk/models/dimension_request_dto.py +96 -0
- visier_platform_sdk/models/dimension_response_dto.py +96 -0
- visier_platform_sdk/models/dimension_with_context_dto.py +98 -0
- visier_platform_sdk/models/dimensions_auth_params_dto.py +1 -1
- visier_platform_sdk/models/dimensions_change_definitions_dto.py +1 -1
- visier_platform_sdk/models/dimensions_dto.py +1 -1
- visier_platform_sdk/models/direct_data_job_config_dto.py +1 -1
- visier_platform_sdk/models/direct_data_job_status_response_dto.py +1 -1
- visier_platform_sdk/models/direct_data_list_transactions_response_dto.py +1 -1
- visier_platform_sdk/models/direct_data_load_config_dto.py +1 -1
- visier_platform_sdk/models/direct_data_schema_dto.py +1 -1
- visier_platform_sdk/models/direct_data_schema_field_dto.py +1 -1
- visier_platform_sdk/models/direct_data_transaction_dto.py +1 -1
- visier_platform_sdk/models/direct_data_transaction_start_response_dto.py +1 -1
- visier_platform_sdk/models/direct_data_upload_file_response_dto.py +1 -1
- visier_platform_sdk/models/disable_dv_model.py +1 -1
- visier_platform_sdk/models/disable_dv_request.py +1 -1
- visier_platform_sdk/models/disable_dv_response.py +1 -1
- visier_platform_sdk/models/dispatching_job_status_response.py +1 -1
- visier_platform_sdk/models/document_search_link_dto.py +1 -1
- visier_platform_sdk/models/download_source_files_dto.py +1 -1
- visier_platform_sdk/models/download_source_files_response_dto.py +1 -1
- visier_platform_sdk/models/dv_export_status.py +1 -1
- visier_platform_sdk/models/dynamic_dimension_filter_dto.py +1 -1
- visier_platform_sdk/models/dynamic_property_mapping_dto.py +1 -1
- visier_platform_sdk/models/element_ids_dto.py +1 -1
- visier_platform_sdk/models/email_domains_dto.py +1 -1
- visier_platform_sdk/models/error_dto.py +1 -1
- visier_platform_sdk/models/exclude_data_uploads_request.py +1 -1
- visier_platform_sdk/models/excluded_sources_body.py +1 -1
- visier_platform_sdk/models/execution_context_dto.py +1 -1
- visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py +1 -1
- visier_platform_sdk/models/extract_data_and_load_dto.py +1 -1
- visier_platform_sdk/models/extracted_skill.py +1 -1
- visier_platform_sdk/models/extraction_job.py +1 -1
- visier_platform_sdk/models/extraction_job_and_status_response.py +1 -1
- visier_platform_sdk/models/extractor_credential_apidto.py +1 -1
- visier_platform_sdk/models/extractor_credentials_apidto.py +1 -1
- visier_platform_sdk/models/extractor_setting_apidto.py +1 -1
- visier_platform_sdk/models/extractor_setting_key_value_apidto.py +1 -1
- visier_platform_sdk/models/extractor_settings_apidto.py +1 -1
- visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py +1 -1
- visier_platform_sdk/models/failed_change_dto.py +1 -1
- visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py +1 -1
- visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py +1 -1
- visier_platform_sdk/models/fusion_auth_params_dto.py +1 -1
- visier_platform_sdk/models/generate_impersonation_token_request.py +1 -1
- visier_platform_sdk/models/generate_key_request_dto.py +1 -1
- visier_platform_sdk/models/get_capabilities_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_content_packages_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_data_access_sets_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_permissions_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_plan_list_response_dto.py +1 -1
- visier_platform_sdk/models/get_production_versions_api_response_dto.py +1 -1
- visier_platform_sdk/models/get_projects_api_response_dto.py +1 -1
- visier_platform_sdk/models/gong_auth_params_dto.py +1 -1
- visier_platform_sdk/models/google_sheets_auth_params_dto.py +1 -1
- visier_platform_sdk/models/google_workspace_auth_params_dto.py +1 -1
- visier_platform_sdk/models/greenhouse_auth_params_dto.py +1 -1
- visier_platform_sdk/models/hierarchy.py +1 -1
- visier_platform_sdk/models/hierarchy_property_dto.py +1 -1
- visier_platform_sdk/models/home_analysis_by_user_group_dto.py +1 -1
- visier_platform_sdk/models/icims_auth_params_dto.py +1 -1
- visier_platform_sdk/models/import_definition_apidto.py +1 -1
- visier_platform_sdk/models/import_definitions_apidto.py +1 -1
- visier_platform_sdk/models/include_data_uploads_request.py +1 -1
- visier_platform_sdk/models/inherited_access_config_dto.py +1 -1
- visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py +1 -1
- visier_platform_sdk/models/internal_query_execution_options_dto.py +1 -1
- visier_platform_sdk/models/internal_s3_auth_params_dto.py +1 -1
- visier_platform_sdk/models/jdbc_auth_params_dto.py +1 -1
- visier_platform_sdk/models/jira_auth_params_dto.py +1 -1
- visier_platform_sdk/models/jira_connect_params_dto.py +1 -1
- visier_platform_sdk/models/job.py +1 -1
- visier_platform_sdk/models/job_cancellation_result_dto.py +1 -1
- visier_platform_sdk/models/job_cancellation_results_dto.py +1 -1
- visier_platform_sdk/models/job_entry.py +1 -1
- visier_platform_sdk/models/job_feedback_input.py +1 -1
- visier_platform_sdk/models/job_id_response.py +1 -1
- visier_platform_sdk/models/job_search_failure_output.py +1 -1
- visier_platform_sdk/models/job_search_input.py +1 -1
- visier_platform_sdk/models/job_search_output.py +1 -1
- visier_platform_sdk/models/job_standardization_input.py +2 -2
- visier_platform_sdk/models/job_standardization_input_skills.py +1 -1
- visier_platform_sdk/models/job_status_list_response.py +1 -1
- visier_platform_sdk/models/job_status_with_start_time.py +1 -1
- visier_platform_sdk/models/key_group_filter_dto.py +1 -1
- visier_platform_sdk/models/key_group_filter_item_dto.py +1 -1
- visier_platform_sdk/models/key_name.py +1 -1
- visier_platform_sdk/models/key_pair_delete_response_dto.py +1 -1
- visier_platform_sdk/models/key_pair_generate_request_dto.py +1 -1
- visier_platform_sdk/models/last_login_dto.py +1 -1
- visier_platform_sdk/models/level_dto.py +1 -1
- visier_platform_sdk/models/level_list_dto.py +96 -0
- visier_platform_sdk/models/leveled_details_dto.py +102 -0
- visier_platform_sdk/models/lever_auth_params_dto.py +1 -1
- visier_platform_sdk/models/lineage_dto.py +1 -1
- visier_platform_sdk/models/list_query_execution_dto.py +1 -1
- visier_platform_sdk/models/list_query_execution_options_dto.py +1 -1
- visier_platform_sdk/models/list_query_source_dto.py +1 -1
- visier_platform_sdk/models/list_response.py +1 -1
- visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py +1 -1
- visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py +1 -1
- visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py +1 -1
- visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py +1 -1
- visier_platform_sdk/models/location_search_failure_output.py +1 -1
- visier_platform_sdk/models/location_search_input.py +1 -1
- visier_platform_sdk/models/location_search_input1.py +1 -1
- visier_platform_sdk/models/location_search_output.py +1 -1
- visier_platform_sdk/models/location_search_successful_output.py +1 -1
- visier_platform_sdk/models/mask_message.py +1 -1
- visier_platform_sdk/models/medallia_auth_params_dto.py +1 -1
- visier_platform_sdk/models/member_dto.py +1 -1
- visier_platform_sdk/models/member_filter_config_dto.py +1 -1
- visier_platform_sdk/models/member_filter_dto.py +1 -1
- visier_platform_sdk/models/member_parameter_definition_dto.py +1 -1
- visier_platform_sdk/models/member_parameter_value_dto.py +1 -1
- visier_platform_sdk/models/member_selection_dto.py +1 -1
- visier_platform_sdk/models/member_values_dto.py +1 -1
- visier_platform_sdk/models/members_dto.py +1 -1
- visier_platform_sdk/models/metric_definition_dto.py +1 -1
- visier_platform_sdk/models/metric_dto.py +1 -1
- visier_platform_sdk/models/metric_type_details_dto.py +1 -1
- visier_platform_sdk/models/metric_validation_summary_dto.py +1 -1
- visier_platform_sdk/models/metrics_dto.py +1 -1
- visier_platform_sdk/models/microsoft365_auth_params_dto.py +1 -1
- visier_platform_sdk/models/module_settings_dto.py +1 -1
- visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py +1 -1
- visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py +1 -1
- visier_platform_sdk/models/my_sql_auth_params_dto.py +1 -1
- visier_platform_sdk/models/namely_auth_params_dto.py +1 -1
- visier_platform_sdk/models/network_subnets_message_request.py +1 -1
- visier_platform_sdk/models/network_subnets_message_response.py +1 -1
- visier_platform_sdk/models/numeric_parameter_definition_dto.py +1 -1
- visier_platform_sdk/models/numeric_parameter_value_dto.py +1 -1
- visier_platform_sdk/models/o_auth2_user_info_dto.py +1 -1
- visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py +1 -1
- visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py +1 -1
- visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py +1 -1
- visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py +1 -1
- visier_platform_sdk/models/object_change_failure_dto.py +1 -1
- visier_platform_sdk/models/object_change_success_dto.py +1 -1
- visier_platform_sdk/models/object_id_dto.py +1 -1
- visier_platform_sdk/models/object_reference_dto.py +1 -1
- visier_platform_sdk/models/objects_bulk_change_response_dto.py +1 -1
- visier_platform_sdk/models/oracle_db_auth_params_dto.py +1 -1
- visier_platform_sdk/models/output_entry.py +1 -1
- visier_platform_sdk/models/output_entry1.py +1 -1
- visier_platform_sdk/models/output_entry1_matches_inner.py +1 -1
- visier_platform_sdk/models/pair_dto.py +1 -1
- visier_platform_sdk/models/parameter_definition_dto.py +1 -1
- visier_platform_sdk/models/parent_child_details_dto.py +108 -0
- visier_platform_sdk/models/permission_assigned_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/permission_assigned_user_dto.py +1 -1
- visier_platform_sdk/models/permission_assigned_users_dto.py +1 -1
- visier_platform_sdk/models/permission_bulk_operation_response_dto.py +1 -1
- visier_platform_sdk/models/permission_dto.py +1 -1
- visier_platform_sdk/models/permission_error_dto.py +1 -1
- visier_platform_sdk/models/permission_failure_dto.py +1 -1
- visier_platform_sdk/models/permission_response_dto.py +1 -1
- visier_platform_sdk/models/permission_success_dto.py +1 -1
- visier_platform_sdk/models/permissions_list_dto.py +1 -1
- visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py +1 -1
- visier_platform_sdk/models/permissions_to_user_group_request_dto.py +1 -1
- visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +1 -1
- visier_platform_sdk/models/perspective_configuration_dto.py +1 -1
- visier_platform_sdk/models/perspective_node_dto.py +1 -1
- visier_platform_sdk/models/plan_data_load_change_dto.py +1 -1
- visier_platform_sdk/models/plan_data_load_change_list_dto.py +1 -1
- visier_platform_sdk/models/plan_data_load_error_dto.py +1 -1
- visier_platform_sdk/models/plan_data_upload_response_dto.py +1 -1
- visier_platform_sdk/models/plan_info_dto.py +1 -1
- visier_platform_sdk/models/plan_item_dto.py +1 -1
- visier_platform_sdk/models/plan_parameter_definition_dto.py +1 -1
- visier_platform_sdk/models/plan_parameter_value_dto.py +1 -1
- visier_platform_sdk/models/plan_row_data_load_response_dto.py +1 -1
- visier_platform_sdk/models/plan_schema_dto.py +1 -1
- visier_platform_sdk/models/plan_segment_level_dto.py +1 -1
- visier_platform_sdk/models/plan_segment_level_member_dto.py +1 -1
- visier_platform_sdk/models/plan_segment_level_member_list_dto.py +1 -1
- visier_platform_sdk/models/plan_time_period_dto.py +1 -1
- visier_platform_sdk/models/plan_with_schema_dto.py +1 -1
- visier_platform_sdk/models/planning_concept_filter_context_dto.py +1 -1
- visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py +1 -1
- visier_platform_sdk/models/planning_model_dto.py +1 -1
- visier_platform_sdk/models/planning_models_dto.py +1 -1
- visier_platform_sdk/models/planning_plan_context_dto.py +1 -1
- visier_platform_sdk/models/planning_plan_dto.py +1 -1
- visier_platform_sdk/models/planning_plans_dto.py +1 -1
- visier_platform_sdk/models/population_configuration_dto.py +1 -1
- visier_platform_sdk/models/prediction_dto.py +1 -1
- visier_platform_sdk/models/predictions_dto.py +1 -1
- visier_platform_sdk/models/process_concept_definition_dto.py +1 -1
- visier_platform_sdk/models/process_concept_member_dto.py +1 -1
- visier_platform_sdk/models/process_concept_member_list_dto.py +1 -1
- visier_platform_sdk/models/process_concept_metric_definition_dto.py +1 -1
- visier_platform_sdk/models/process_concept_metric_list_dto.py +1 -1
- visier_platform_sdk/models/process_concept_outcome_dto.py +1 -1
- visier_platform_sdk/models/process_concept_outcome_list_dto.py +1 -1
- visier_platform_sdk/models/process_concept_property_list_dto.py +1 -1
- visier_platform_sdk/models/process_concept_property_type_dto.py +1 -1
- visier_platform_sdk/models/process_concept_stage_dto.py +1 -1
- visier_platform_sdk/models/process_concept_stage_list_dto.py +1 -1
- visier_platform_sdk/models/processing_job.py +1 -1
- visier_platform_sdk/models/processing_job_and_status_response.py +1 -1
- visier_platform_sdk/models/processing_job_request_dto.py +1 -1
- visier_platform_sdk/models/processing_job_status_response.py +1 -1
- visier_platform_sdk/models/product_release_dto.py +1 -1
- visier_platform_sdk/models/product_releases_dto.py +1 -1
- visier_platform_sdk/models/product_version_dto.py +1 -1
- visier_platform_sdk/models/product_versions_dto.py +1 -1
- visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py +1 -1
- visier_platform_sdk/models/product_versions_update_response_dto.py +1 -1
- visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py +1 -1
- visier_platform_sdk/models/production_version_api_operation_request_dto.py +1 -1
- visier_platform_sdk/models/production_version_api_operation_response_dto.py +1 -1
- visier_platform_sdk/models/production_versions_api_operation_request_dto.py +1 -1
- visier_platform_sdk/models/production_versions_api_operation_response_dto.py +1 -1
- visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py +1 -1
- visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/profile_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/profiles_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/project_commits_api_response_dto.py +1 -1
- visier_platform_sdk/models/project_dto.py +1 -1
- visier_platform_sdk/models/project_operation_request_dto.py +1 -1
- visier_platform_sdk/models/project_operation_response_dto.py +1 -1
- visier_platform_sdk/models/properties_change_definitions_dto.py +1 -1
- visier_platform_sdk/models/properties_delete_definitions_dto.py +1 -1
- visier_platform_sdk/models/properties_dto.py +1 -1
- visier_platform_sdk/models/property_access_config_dto.py +1 -1
- visier_platform_sdk/models/property_bulk_delete_response_dto.py +1 -1
- visier_platform_sdk/models/property_change_definition_dto.py +1 -1
- visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/property_column_dto.py +1 -1
- visier_platform_sdk/models/property_definition_dto.py +1 -1
- visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/property_delete_failure_dto.py +1 -1
- visier_platform_sdk/models/property_delete_success_dto.py +1 -1
- visier_platform_sdk/models/property_dependency_dto.py +90 -0
- visier_platform_sdk/models/property_dependency_list_dto.py +96 -0
- visier_platform_sdk/models/property_dto.py +1 -1
- visier_platform_sdk/models/property_reference_dto.py +1 -1
- visier_platform_sdk/models/property_set_config_dto.py +1 -1
- visier_platform_sdk/models/property_type_details_dto.py +1 -1
- visier_platform_sdk/models/property_type_dto.py +1 -1
- visier_platform_sdk/models/public_key_dto.py +1 -1
- visier_platform_sdk/models/public_keys_dto.py +1 -1
- visier_platform_sdk/models/push_data_cancel_response.py +1 -1
- visier_platform_sdk/models/push_data_column_definition_dto.py +1 -1
- visier_platform_sdk/models/push_data_complete_request.py +1 -1
- visier_platform_sdk/models/push_data_complete_response.py +1 -1
- visier_platform_sdk/models/push_data_response.py +1 -1
- visier_platform_sdk/models/push_data_source_definition_dto.py +1 -1
- visier_platform_sdk/models/push_data_source_definitions_dto.py +1 -1
- visier_platform_sdk/models/put_project_commits_request.py +1 -1
- visier_platform_sdk/models/qualtrics_auth_params_dto.py +1 -1
- visier_platform_sdk/models/query_axis_dto.py +1 -1
- visier_platform_sdk/models/query_axis_options_dto.py +1 -1
- visier_platform_sdk/models/query_dimension_data_member_selection_dto.py +1 -1
- visier_platform_sdk/models/query_dimension_leaf_selection_dto.py +1 -1
- visier_platform_sdk/models/query_dimension_level_property_dto.py +1 -1
- visier_platform_sdk/models/query_dimension_level_selection_dto.py +1 -1
- visier_platform_sdk/models/query_dimension_member_selection_dto.py +1 -1
- visier_platform_sdk/models/query_execution_error_details_dto.py +1 -1
- visier_platform_sdk/models/query_execution_error_dto.py +1 -1
- visier_platform_sdk/models/query_execution_errors_dto.py +1 -1
- visier_platform_sdk/models/query_execution_options_dto.py +1 -1
- visier_platform_sdk/models/query_filter_dto.py +1 -1
- visier_platform_sdk/models/query_member_map_property_dto.py +1 -1
- visier_platform_sdk/models/query_member_map_selection_dto.py +1 -1
- visier_platform_sdk/models/query_numeric_ranges_dto.py +1 -1
- visier_platform_sdk/models/query_parameter_value_dto.py +1 -1
- visier_platform_sdk/models/query_property_dto.py +1 -1
- visier_platform_sdk/models/query_time_interval_dto.py +1 -1
- visier_platform_sdk/models/query_time_intervals_dto.py +1 -1
- visier_platform_sdk/models/question_categories_api_response_dto.py +1 -1
- visier_platform_sdk/models/question_category_api_response_dto.py +1 -1
- visier_platform_sdk/models/receiving_job.py +1 -1
- visier_platform_sdk/models/receiving_job_and_status_response.py +1 -1
- visier_platform_sdk/models/receiving_job_status_response.py +1 -1
- visier_platform_sdk/models/redshift_auth_params_dto.py +1 -1
- visier_platform_sdk/models/reduced_error_dto.py +1 -1
- visier_platform_sdk/models/reduced_tenant_code_error_dto.py +1 -1
- visier_platform_sdk/models/reduced_user_id_error_dto.py +1 -1
- visier_platform_sdk/models/related_analytic_object_dto.py +1 -1
- visier_platform_sdk/models/report_create_request_dto.py +1 -1
- visier_platform_sdk/models/report_delete_success_dto.py +1 -1
- visier_platform_sdk/models/report_dto.py +1 -1
- visier_platform_sdk/models/report_list_response_dto.py +1 -1
- visier_platform_sdk/models/result.py +1 -1
- visier_platform_sdk/models/role_modules_config_dto.py +1 -1
- visier_platform_sdk/models/salary_benchmark_input.py +1 -1
- visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +1 -1
- visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +1 -1
- visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +1 -1
- visier_platform_sdk/models/salesforce_auth_params_dto.py +1 -1
- visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +1 -1
- visier_platform_sdk/models/sample_question_api_response_dto.py +1 -1
- visier_platform_sdk/models/sample_questions_api_response_dto.py +1 -1
- visier_platform_sdk/models/scenario_info_dto.py +1 -1
- visier_platform_sdk/models/scenario_or_snapshot_dto.py +1 -1
- visier_platform_sdk/models/securable_dimension_dto.py +1 -1
- visier_platform_sdk/models/securable_property_dto.py +1 -1
- visier_platform_sdk/models/security_assignment_response_dto.py +1 -1
- visier_platform_sdk/models/selection_concept_configuration_dto.py +1 -1
- visier_platform_sdk/models/selection_concept_configuration_map_dto.py +1 -1
- visier_platform_sdk/models/selection_concept_dto.py +1 -1
- visier_platform_sdk/models/selection_concept_list_dto.py +1 -1
- visier_platform_sdk/models/selection_concept_reference_dto.py +1 -1
- visier_platform_sdk/models/selection_concepts_dto.py +1 -1
- visier_platform_sdk/models/service_now_auth_params_dto.py +1 -1
- visier_platform_sdk/models/service_now_v2_auth_params_dto.py +1 -1
- visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py +1 -1
- visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +1 -1
- visier_platform_sdk/models/set_connector_setting_request_dto.py +1 -1
- visier_platform_sdk/models/set_connector_setting_response_dto.py +1 -1
- visier_platform_sdk/models/set_connector_settings_request_dto.py +1 -1
- visier_platform_sdk/models/set_connector_settings_response_dto.py +1 -1
- visier_platform_sdk/models/shareable_data_access_set.py +1 -1
- visier_platform_sdk/models/simple_document_header_search_response_dto.py +1 -1
- visier_platform_sdk/models/simple_document_header_search_result_dto.py +1 -1
- visier_platform_sdk/models/simple_property_type_dto.py +1 -1
- visier_platform_sdk/models/simple_user_dto.py +1 -1
- visier_platform_sdk/models/skill.py +1 -1
- visier_platform_sdk/models/skill_category.py +1 -1
- visier_platform_sdk/models/skill_category_entry.py +1 -1
- visier_platform_sdk/models/skill_entry.py +1 -1
- visier_platform_sdk/models/skill_extraction_input.py +1 -1
- visier_platform_sdk/models/skill_group.py +1 -1
- visier_platform_sdk/models/skill_group_entry.py +1 -1
- visier_platform_sdk/models/skill_match_input.py +1 -1
- visier_platform_sdk/models/slack_auth_params_dto.py +1 -1
- visier_platform_sdk/models/snapshot_query_execution_dto.py +1 -1
- visier_platform_sdk/models/snapshot_query_execution_options_dto.py +1 -1
- visier_platform_sdk/models/snowflake_auth_params_dto.py +1 -1
- visier_platform_sdk/models/sort_option_dto.py +1 -1
- visier_platform_sdk/models/source.py +1 -1
- visier_platform_sdk/models/source_import_result_summary_dto.py +1 -1
- visier_platform_sdk/models/sources_api_operation_request_dto.py +1 -1
- visier_platform_sdk/models/sources_api_put_response_dto.py +1 -1
- visier_platform_sdk/models/sql_like200_response.py +1 -1
- visier_platform_sdk/models/sql_like_query_execution_dto.py +1 -1
- visier_platform_sdk/models/sql_server_auth_params_dto.py +1 -1
- visier_platform_sdk/models/start_extraction_response.py +1 -1
- visier_platform_sdk/models/start_transfer_response.py +1 -1
- visier_platform_sdk/models/static_dimension_filter_dto.py +1 -1
- visier_platform_sdk/models/status.py +1 -1
- visier_platform_sdk/models/subject_missing_access_dto.py +1 -1
- visier_platform_sdk/models/success_factors_auth_params_dto.py +1 -1
- visier_platform_sdk/models/success_factors_o_auth_params_dto.py +1 -1
- visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py +1 -1
- visier_platform_sdk/models/successful_change_dto.py +1 -1
- visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py +1 -1
- visier_platform_sdk/models/synonym_list_dto.py +1 -1
- visier_platform_sdk/models/system_status_dto.py +1 -1
- visier_platform_sdk/models/table_response_dto.py +1 -1
- visier_platform_sdk/models/tag_map_element_dto.py +1 -1
- visier_platform_sdk/models/tag_reference_dto.py +1 -1
- visier_platform_sdk/models/tag_reference_list_dto.py +1 -1
- visier_platform_sdk/models/tags_dto.py +1 -1
- visier_platform_sdk/models/target_project_for_tenant_dto.py +1 -1
- visier_platform_sdk/models/target_project_for_tenants_list_dto.py +1 -1
- visier_platform_sdk/models/target_tenant_code_dto.py +1 -1
- visier_platform_sdk/models/tenant.py +1 -1
- visier_platform_sdk/models/tenant_and_credential.py +1 -1
- visier_platform_sdk/models/tenant_assignments_dto.py +1 -1
- visier_platform_sdk/models/tenant_code_body.py +1 -1
- visier_platform_sdk/models/tenant_code_error_dto.py +1 -1
- visier_platform_sdk/models/tenant_connector_settings_request_dto.py +1 -1
- visier_platform_sdk/models/tenant_data_upload_status_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_data_uploads_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_detail_apidto.py +1 -1
- visier_platform_sdk/models/tenant_details_traits_dto.py +1 -1
- visier_platform_sdk/models/tenant_encryption_key_details_dto.py +1 -1
- visier_platform_sdk/models/tenant_encryption_key_dto.py +1 -1
- visier_platform_sdk/models/tenant_management_api_get_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_management_api_list_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_management_api_update_request_dto.py +1 -1
- visier_platform_sdk/models/tenant_management_api_update_response_dto.py +1 -1
- visier_platform_sdk/models/tenant_module_dto.py +1 -1
- visier_platform_sdk/models/tenant_preview_entries_summary_dto.py +1 -1
- visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py +1 -1
- visier_platform_sdk/models/tenant_provision_apidto.py +1 -1
- visier_platform_sdk/models/tenant_status_apidto.py +1 -1
- visier_platform_sdk/models/time_shift_dto.py +1 -1
- visier_platform_sdk/models/token_response.py +1 -1
- visier_platform_sdk/models/ultimate_auth_params_dto.py +1 -1
- visier_platform_sdk/models/update_tenant_model.py +1 -1
- visier_platform_sdk/models/upload_to_exclude.py +1 -1
- visier_platform_sdk/models/upload_to_include.py +1 -1
- visier_platform_sdk/models/user_creation_api_request_dto.py +1 -1
- visier_platform_sdk/models/user_creation_api_response_dto.py +1 -1
- visier_platform_sdk/models/user_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py +1 -1
- visier_platform_sdk/models/user_group_assignment_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_definition_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_dimension_filter_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_failure_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_filter_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_member_selection_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_response_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_success_dto.py +1 -1
- visier_platform_sdk/models/user_group_change_users_dto.py +1 -1
- visier_platform_sdk/models/user_group_delete_dto.py +1 -1
- visier_platform_sdk/models/user_group_delete_failure_dto.py +1 -1
- visier_platform_sdk/models/user_group_delete_response_dto.py +1 -1
- visier_platform_sdk/models/user_group_delete_success_dto.py +1 -1
- visier_platform_sdk/models/user_group_filters_dto.py +1 -1
- visier_platform_sdk/models/user_group_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/user_group_single_delete_response_dto.py +1 -1
- visier_platform_sdk/models/user_groups_change_dto.py +1 -1
- visier_platform_sdk/models/user_groups_delete_request_dto.py +1 -1
- visier_platform_sdk/models/user_groups_get_api_response_dto.py +1 -1
- visier_platform_sdk/models/user_groups_users_dto.py +1 -1
- visier_platform_sdk/models/user_groups_users_for_tenant_dto.py +1 -1
- visier_platform_sdk/models/user_id_error_dto.py +1 -1
- visier_platform_sdk/models/user_property_dto.py +1 -1
- visier_platform_sdk/models/user_security_assignments_dto.py +1 -1
- visier_platform_sdk/models/user_update_api_request_dto.py +1 -1
- visier_platform_sdk/models/users_api_error_message_dto.py +1 -1
- visier_platform_sdk/models/users_api_failure_dto.py +1 -1
- visier_platform_sdk/models/users_api_response_dto.py +1 -1
- visier_platform_sdk/models/users_api_success_dto.py +1 -1
- visier_platform_sdk/models/users_creation_api_request_dto.py +1 -1
- visier_platform_sdk/models/users_delete_api_request_dto.py +1 -1
- visier_platform_sdk/models/users_to_user_group_request_dto.py +1 -1
- visier_platform_sdk/models/users_to_user_groups_request_dto.py +1 -1
- visier_platform_sdk/models/users_update_api_request_dto.py +1 -1
- visier_platform_sdk/models/users_update_api_user_dto.py +1 -1
- visier_platform_sdk/models/v2_calculated_property_type_dto.py +1 -1
- visier_platform_sdk/models/v2_dimension_dto.py +112 -0
- visier_platform_sdk/models/v2_level_dto.py +102 -0
- visier_platform_sdk/models/v2_simple_property_type_dto.py +1 -1
- visier_platform_sdk/models/validity_range_dto.py +1 -1
- visier_platform_sdk/models/vee_clarification_dto.py +1 -1
- visier_platform_sdk/models/vee_conversation_dto.py +1 -1
- visier_platform_sdk/models/vee_conversation_state_dto.py +1 -1
- visier_platform_sdk/models/vee_corrections_dto.py +1 -1
- visier_platform_sdk/models/vee_data_dto.py +1 -1
- visier_platform_sdk/models/vee_feedback_dto.py +1 -1
- visier_platform_sdk/models/vee_options_dto.py +1 -1
- visier_platform_sdk/models/vee_question_change_definition_dto.py +1 -1
- visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/vee_question_change_failure_dto.py +1 -1
- visier_platform_sdk/models/vee_question_change_success_dto.py +1 -1
- visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py +1 -1
- visier_platform_sdk/models/vee_question_dto.py +1 -1
- visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py +1 -1
- visier_platform_sdk/models/vee_questions_change_definitions_dto.py +1 -1
- visier_platform_sdk/models/vee_questions_delete_definitions_dto.py +1 -1
- visier_platform_sdk/models/vee_response_dto.py +1 -1
- visier_platform_sdk/models/vee_response_schema_dto.py +1 -1
- visier_platform_sdk/models/vee_response_schema_reference_dto.py +1 -1
- visier_platform_sdk/models/vee_sample_question_dto.py +1 -1
- visier_platform_sdk/models/vee_sample_question_library_dto.py +1 -1
- visier_platform_sdk/models/vee_status_code_dto.py +1 -1
- visier_platform_sdk/models/vee_status_dto.py +1 -1
- visier_platform_sdk/models/vee_visual_dto.py +1 -1
- visier_platform_sdk/models/vee_visual_options_dto.py +1 -1
- visier_platform_sdk/models/webhook_basic_auth_credential_dto.py +1 -1
- visier_platform_sdk/models/webhook_credentials_dto.py +1 -1
- visier_platform_sdk/models/webhook_details_dto.py +1 -1
- visier_platform_sdk/models/webhook_dto.py +1 -1
- visier_platform_sdk/models/webhook_event_type_dto.py +1 -1
- visier_platform_sdk/models/webhook_message_response_dto.py +1 -1
- visier_platform_sdk/models/webhook_request_dto.py +1 -1
- visier_platform_sdk/models/webhooks_dto.py +1 -1
- visier_platform_sdk/models/willow_auth_params_dto.py +1 -1
- visier_platform_sdk/models/workday_auth_params_dto.py +1 -1
- visier_platform_sdk/models/workday_o_auth_params_dto.py +1 -1
- visier_platform_sdk/models/workday_raas_auth_params_dto.py +1 -1
- visier_platform_sdk/models/workday_refresh_token_params_dto.py +1 -1
- visier_platform_sdk/models/zoom_auth_params_dto.py +1 -1
- visier_platform_sdk/rest.py +1 -1
- {visier_platform_sdk-22222222.99201.1914b6.dist-info → visier_platform_sdk-22222222.99201.1925.dist-info}/METADATA +1 -1
- visier_platform_sdk-22222222.99201.1925.dist-info/RECORD +684 -0
- visier_platform_sdk-22222222.99201.1914b6.dist-info/RECORD +0 -668
- {visier_platform_sdk-22222222.99201.1914b6.dist-info → visier_platform_sdk-22222222.99201.1925.dist-info}/WHEEL +0 -0
- {visier_platform_sdk-22222222.99201.1914b6.dist-info → visier_platform_sdk-22222222.99201.1925.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2344 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
API Reference
|
|
5
|
+
|
|
6
|
+
Detailed API reference documentation for Visier APIs. Includes all endpoints, headers, path parameters, query parameters, request body schema, response schema, JSON request samples, and JSON response samples.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 22222222.99201.1925
|
|
9
|
+
Contact: alpine@visier.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictStr, field_validator
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO
|
|
24
|
+
from visier_platform_sdk.models.dimension_delete_request_dto import DimensionDeleteRequestDTO
|
|
25
|
+
from visier_platform_sdk.models.dimension_request_dto import DimensionRequestDTO
|
|
26
|
+
from visier_platform_sdk.models.dimension_response_dto import DimensionResponseDTO
|
|
27
|
+
from visier_platform_sdk.models.dimension_with_context_dto import DimensionWithContextDTO
|
|
28
|
+
|
|
29
|
+
from visier_platform_sdk.api_client import ApiClient, RequestSerialized
|
|
30
|
+
from visier_platform_sdk.api_response import ApiResponse
|
|
31
|
+
from visier_platform_sdk.rest import RESTResponseType
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class DimensionsV2Api:
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self, api_client=None) -> None:
|
|
42
|
+
if api_client is None:
|
|
43
|
+
api_client = ApiClient.get_default()
|
|
44
|
+
self.api_client = api_client
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
@validate_call
|
|
48
|
+
def create_dimensions(
|
|
49
|
+
self,
|
|
50
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
51
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
52
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
53
|
+
_request_timeout: Union[
|
|
54
|
+
None,
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
56
|
+
Tuple[
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
59
|
+
]
|
|
60
|
+
] = None,
|
|
61
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
62
|
+
_content_type: Optional[StrictStr] = None,
|
|
63
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65
|
+
) -> BulkChangeResponseDTO:
|
|
66
|
+
"""Create dimensions
|
|
67
|
+
|
|
68
|
+
Create new dimensions. The response returns whether each dimension was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
69
|
+
|
|
70
|
+
:param dimension_request_dto: (required)
|
|
71
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
72
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
73
|
+
:type target_tenant_id: str
|
|
74
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
75
|
+
:type project_id: str
|
|
76
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
77
|
+
number provided, it will be total request
|
|
78
|
+
timeout. It can also be a pair (tuple) of
|
|
79
|
+
(connection, read) timeouts.
|
|
80
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
81
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
82
|
+
request; this effectively ignores the
|
|
83
|
+
authentication in the spec for a single request.
|
|
84
|
+
:type _request_auth: dict, optional
|
|
85
|
+
:param _content_type: force content-type for the request.
|
|
86
|
+
:type _content_type: str, Optional
|
|
87
|
+
:param _headers: set to override the headers for a single
|
|
88
|
+
request; this effectively ignores the headers
|
|
89
|
+
in the spec for a single request.
|
|
90
|
+
:type _headers: dict, optional
|
|
91
|
+
:param _host_index: set to override the host_index for a single
|
|
92
|
+
request; this effectively ignores the host_index
|
|
93
|
+
in the spec for a single request.
|
|
94
|
+
:type _host_index: int, optional
|
|
95
|
+
:return: Returns the result object.
|
|
96
|
+
""" # noqa: E501
|
|
97
|
+
|
|
98
|
+
_param = self._create_dimensions_serialize(
|
|
99
|
+
dimension_request_dto=dimension_request_dto,
|
|
100
|
+
target_tenant_id=target_tenant_id,
|
|
101
|
+
project_id=project_id,
|
|
102
|
+
_request_auth=_request_auth,
|
|
103
|
+
_content_type=_content_type,
|
|
104
|
+
_headers=_headers,
|
|
105
|
+
_host_index=_host_index
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
109
|
+
'200': "BulkChangeResponseDTO",
|
|
110
|
+
}
|
|
111
|
+
response_data = self.api_client.call_api(
|
|
112
|
+
*_param,
|
|
113
|
+
_request_timeout=_request_timeout
|
|
114
|
+
)
|
|
115
|
+
response_data.read()
|
|
116
|
+
return self.api_client.response_deserialize(
|
|
117
|
+
response_data=response_data,
|
|
118
|
+
response_types_map=_response_types_map,
|
|
119
|
+
).data
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
@validate_call
|
|
123
|
+
def create_dimensions_with_http_info(
|
|
124
|
+
self,
|
|
125
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
126
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
127
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
128
|
+
_request_timeout: Union[
|
|
129
|
+
None,
|
|
130
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131
|
+
Tuple[
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
133
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
134
|
+
]
|
|
135
|
+
] = None,
|
|
136
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
137
|
+
_content_type: Optional[StrictStr] = None,
|
|
138
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
140
|
+
) -> ApiResponse[BulkChangeResponseDTO]:
|
|
141
|
+
"""Create dimensions
|
|
142
|
+
|
|
143
|
+
Create new dimensions. The response returns whether each dimension was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
144
|
+
|
|
145
|
+
:param dimension_request_dto: (required)
|
|
146
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
147
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
148
|
+
:type target_tenant_id: str
|
|
149
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
150
|
+
:type project_id: str
|
|
151
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
152
|
+
number provided, it will be total request
|
|
153
|
+
timeout. It can also be a pair (tuple) of
|
|
154
|
+
(connection, read) timeouts.
|
|
155
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
156
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
157
|
+
request; this effectively ignores the
|
|
158
|
+
authentication in the spec for a single request.
|
|
159
|
+
:type _request_auth: dict, optional
|
|
160
|
+
:param _content_type: force content-type for the request.
|
|
161
|
+
:type _content_type: str, Optional
|
|
162
|
+
:param _headers: set to override the headers for a single
|
|
163
|
+
request; this effectively ignores the headers
|
|
164
|
+
in the spec for a single request.
|
|
165
|
+
:type _headers: dict, optional
|
|
166
|
+
:param _host_index: set to override the host_index for a single
|
|
167
|
+
request; this effectively ignores the host_index
|
|
168
|
+
in the spec for a single request.
|
|
169
|
+
:type _host_index: int, optional
|
|
170
|
+
:return: Returns the result object.
|
|
171
|
+
""" # noqa: E501
|
|
172
|
+
|
|
173
|
+
_param = self._create_dimensions_serialize(
|
|
174
|
+
dimension_request_dto=dimension_request_dto,
|
|
175
|
+
target_tenant_id=target_tenant_id,
|
|
176
|
+
project_id=project_id,
|
|
177
|
+
_request_auth=_request_auth,
|
|
178
|
+
_content_type=_content_type,
|
|
179
|
+
_headers=_headers,
|
|
180
|
+
_host_index=_host_index
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
184
|
+
'200': "BulkChangeResponseDTO",
|
|
185
|
+
}
|
|
186
|
+
response_data = self.api_client.call_api(
|
|
187
|
+
*_param,
|
|
188
|
+
_request_timeout=_request_timeout
|
|
189
|
+
)
|
|
190
|
+
response_data.read()
|
|
191
|
+
return self.api_client.response_deserialize(
|
|
192
|
+
response_data=response_data,
|
|
193
|
+
response_types_map=_response_types_map,
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
@validate_call
|
|
198
|
+
def create_dimensions_without_preload_content(
|
|
199
|
+
self,
|
|
200
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
201
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
202
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
203
|
+
_request_timeout: Union[
|
|
204
|
+
None,
|
|
205
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
206
|
+
Tuple[
|
|
207
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
208
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
209
|
+
]
|
|
210
|
+
] = None,
|
|
211
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
212
|
+
_content_type: Optional[StrictStr] = None,
|
|
213
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
214
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
215
|
+
) -> RESTResponseType:
|
|
216
|
+
"""Create dimensions
|
|
217
|
+
|
|
218
|
+
Create new dimensions. The response returns whether each dimension was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
219
|
+
|
|
220
|
+
:param dimension_request_dto: (required)
|
|
221
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
222
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
223
|
+
:type target_tenant_id: str
|
|
224
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
225
|
+
:type project_id: str
|
|
226
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
227
|
+
number provided, it will be total request
|
|
228
|
+
timeout. It can also be a pair (tuple) of
|
|
229
|
+
(connection, read) timeouts.
|
|
230
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
231
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
232
|
+
request; this effectively ignores the
|
|
233
|
+
authentication in the spec for a single request.
|
|
234
|
+
:type _request_auth: dict, optional
|
|
235
|
+
:param _content_type: force content-type for the request.
|
|
236
|
+
:type _content_type: str, Optional
|
|
237
|
+
:param _headers: set to override the headers for a single
|
|
238
|
+
request; this effectively ignores the headers
|
|
239
|
+
in the spec for a single request.
|
|
240
|
+
:type _headers: dict, optional
|
|
241
|
+
:param _host_index: set to override the host_index for a single
|
|
242
|
+
request; this effectively ignores the host_index
|
|
243
|
+
in the spec for a single request.
|
|
244
|
+
:type _host_index: int, optional
|
|
245
|
+
:return: Returns the result object.
|
|
246
|
+
""" # noqa: E501
|
|
247
|
+
|
|
248
|
+
_param = self._create_dimensions_serialize(
|
|
249
|
+
dimension_request_dto=dimension_request_dto,
|
|
250
|
+
target_tenant_id=target_tenant_id,
|
|
251
|
+
project_id=project_id,
|
|
252
|
+
_request_auth=_request_auth,
|
|
253
|
+
_content_type=_content_type,
|
|
254
|
+
_headers=_headers,
|
|
255
|
+
_host_index=_host_index
|
|
256
|
+
)
|
|
257
|
+
|
|
258
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
259
|
+
'200': "BulkChangeResponseDTO",
|
|
260
|
+
}
|
|
261
|
+
response_data = self.api_client.call_api(
|
|
262
|
+
*_param,
|
|
263
|
+
_request_timeout=_request_timeout
|
|
264
|
+
)
|
|
265
|
+
return response_data.response
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
def _create_dimensions_serialize(
|
|
269
|
+
self,
|
|
270
|
+
dimension_request_dto,
|
|
271
|
+
target_tenant_id,
|
|
272
|
+
project_id,
|
|
273
|
+
_request_auth,
|
|
274
|
+
_content_type,
|
|
275
|
+
_headers,
|
|
276
|
+
_host_index,
|
|
277
|
+
) -> RequestSerialized:
|
|
278
|
+
|
|
279
|
+
_host = None
|
|
280
|
+
|
|
281
|
+
_collection_formats: Dict[str, str] = {
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
_path_params: Dict[str, str] = {}
|
|
285
|
+
_query_params: List[Tuple[str, str]] = []
|
|
286
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
287
|
+
_form_params: List[Tuple[str, str]] = []
|
|
288
|
+
_files: Dict[
|
|
289
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
290
|
+
] = {}
|
|
291
|
+
_body_params: Optional[bytes] = None
|
|
292
|
+
|
|
293
|
+
# process the path parameters
|
|
294
|
+
# process the query parameters
|
|
295
|
+
# process the header parameters
|
|
296
|
+
if target_tenant_id is not None:
|
|
297
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
298
|
+
if project_id is not None:
|
|
299
|
+
_header_params['ProjectID'] = project_id
|
|
300
|
+
# process the form parameters
|
|
301
|
+
# process the body parameter
|
|
302
|
+
if dimension_request_dto is not None:
|
|
303
|
+
_body_params = dimension_request_dto
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
# set the HTTP header `Accept`
|
|
307
|
+
if 'Accept' not in _header_params:
|
|
308
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
309
|
+
[
|
|
310
|
+
'application/json'
|
|
311
|
+
]
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
# set the HTTP header `Content-Type`
|
|
315
|
+
if _content_type:
|
|
316
|
+
_header_params['Content-Type'] = _content_type
|
|
317
|
+
else:
|
|
318
|
+
_default_content_type = (
|
|
319
|
+
self.api_client.select_header_content_type(
|
|
320
|
+
[
|
|
321
|
+
'application/json'
|
|
322
|
+
]
|
|
323
|
+
)
|
|
324
|
+
)
|
|
325
|
+
if _default_content_type is not None:
|
|
326
|
+
_header_params['Content-Type'] = _default_content_type
|
|
327
|
+
|
|
328
|
+
# authentication setting
|
|
329
|
+
_auth_settings: List[str] = [
|
|
330
|
+
'CookieAuth',
|
|
331
|
+
'ApiKeyAuth',
|
|
332
|
+
'OAuth2Auth',
|
|
333
|
+
'OAuth2Auth',
|
|
334
|
+
'BearerAuth'
|
|
335
|
+
]
|
|
336
|
+
|
|
337
|
+
return self.api_client.param_serialize(
|
|
338
|
+
method='POST',
|
|
339
|
+
resource_path='/v2alpha/data/model/dimensions',
|
|
340
|
+
path_params=_path_params,
|
|
341
|
+
query_params=_query_params,
|
|
342
|
+
header_params=_header_params,
|
|
343
|
+
body=_body_params,
|
|
344
|
+
post_params=_form_params,
|
|
345
|
+
files=_files,
|
|
346
|
+
auth_settings=_auth_settings,
|
|
347
|
+
collection_formats=_collection_formats,
|
|
348
|
+
_host=_host,
|
|
349
|
+
_request_auth=_request_auth
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
@validate_call
|
|
356
|
+
def delete_dimensions(
|
|
357
|
+
self,
|
|
358
|
+
dimension_delete_request_dto: DimensionDeleteRequestDTO,
|
|
359
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
360
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
361
|
+
_request_timeout: Union[
|
|
362
|
+
None,
|
|
363
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
364
|
+
Tuple[
|
|
365
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
366
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
367
|
+
]
|
|
368
|
+
] = None,
|
|
369
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
370
|
+
_content_type: Optional[StrictStr] = None,
|
|
371
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
372
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
373
|
+
) -> BulkChangeResponseDTO:
|
|
374
|
+
"""Delete dimensions
|
|
375
|
+
|
|
376
|
+
Delete existing dimensions. The response returns whether each dimension was successfully deleted or not. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
377
|
+
|
|
378
|
+
:param dimension_delete_request_dto: (required)
|
|
379
|
+
:type dimension_delete_request_dto: DimensionDeleteRequestDTO
|
|
380
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
381
|
+
:type target_tenant_id: str
|
|
382
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
383
|
+
:type project_id: str
|
|
384
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
385
|
+
number provided, it will be total request
|
|
386
|
+
timeout. It can also be a pair (tuple) of
|
|
387
|
+
(connection, read) timeouts.
|
|
388
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
389
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
390
|
+
request; this effectively ignores the
|
|
391
|
+
authentication in the spec for a single request.
|
|
392
|
+
:type _request_auth: dict, optional
|
|
393
|
+
:param _content_type: force content-type for the request.
|
|
394
|
+
:type _content_type: str, Optional
|
|
395
|
+
:param _headers: set to override the headers for a single
|
|
396
|
+
request; this effectively ignores the headers
|
|
397
|
+
in the spec for a single request.
|
|
398
|
+
:type _headers: dict, optional
|
|
399
|
+
:param _host_index: set to override the host_index for a single
|
|
400
|
+
request; this effectively ignores the host_index
|
|
401
|
+
in the spec for a single request.
|
|
402
|
+
:type _host_index: int, optional
|
|
403
|
+
:return: Returns the result object.
|
|
404
|
+
""" # noqa: E501
|
|
405
|
+
|
|
406
|
+
_param = self._delete_dimensions_serialize(
|
|
407
|
+
dimension_delete_request_dto=dimension_delete_request_dto,
|
|
408
|
+
target_tenant_id=target_tenant_id,
|
|
409
|
+
project_id=project_id,
|
|
410
|
+
_request_auth=_request_auth,
|
|
411
|
+
_content_type=_content_type,
|
|
412
|
+
_headers=_headers,
|
|
413
|
+
_host_index=_host_index
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
417
|
+
'200': "BulkChangeResponseDTO",
|
|
418
|
+
}
|
|
419
|
+
response_data = self.api_client.call_api(
|
|
420
|
+
*_param,
|
|
421
|
+
_request_timeout=_request_timeout
|
|
422
|
+
)
|
|
423
|
+
response_data.read()
|
|
424
|
+
return self.api_client.response_deserialize(
|
|
425
|
+
response_data=response_data,
|
|
426
|
+
response_types_map=_response_types_map,
|
|
427
|
+
).data
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
@validate_call
|
|
431
|
+
def delete_dimensions_with_http_info(
|
|
432
|
+
self,
|
|
433
|
+
dimension_delete_request_dto: DimensionDeleteRequestDTO,
|
|
434
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
435
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
436
|
+
_request_timeout: Union[
|
|
437
|
+
None,
|
|
438
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
439
|
+
Tuple[
|
|
440
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
441
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
442
|
+
]
|
|
443
|
+
] = None,
|
|
444
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
445
|
+
_content_type: Optional[StrictStr] = None,
|
|
446
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
447
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
448
|
+
) -> ApiResponse[BulkChangeResponseDTO]:
|
|
449
|
+
"""Delete dimensions
|
|
450
|
+
|
|
451
|
+
Delete existing dimensions. The response returns whether each dimension was successfully deleted or not. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
452
|
+
|
|
453
|
+
:param dimension_delete_request_dto: (required)
|
|
454
|
+
:type dimension_delete_request_dto: DimensionDeleteRequestDTO
|
|
455
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
456
|
+
:type target_tenant_id: str
|
|
457
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
458
|
+
:type project_id: str
|
|
459
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
460
|
+
number provided, it will be total request
|
|
461
|
+
timeout. It can also be a pair (tuple) of
|
|
462
|
+
(connection, read) timeouts.
|
|
463
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
464
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
465
|
+
request; this effectively ignores the
|
|
466
|
+
authentication in the spec for a single request.
|
|
467
|
+
:type _request_auth: dict, optional
|
|
468
|
+
:param _content_type: force content-type for the request.
|
|
469
|
+
:type _content_type: str, Optional
|
|
470
|
+
:param _headers: set to override the headers for a single
|
|
471
|
+
request; this effectively ignores the headers
|
|
472
|
+
in the spec for a single request.
|
|
473
|
+
:type _headers: dict, optional
|
|
474
|
+
:param _host_index: set to override the host_index for a single
|
|
475
|
+
request; this effectively ignores the host_index
|
|
476
|
+
in the spec for a single request.
|
|
477
|
+
:type _host_index: int, optional
|
|
478
|
+
:return: Returns the result object.
|
|
479
|
+
""" # noqa: E501
|
|
480
|
+
|
|
481
|
+
_param = self._delete_dimensions_serialize(
|
|
482
|
+
dimension_delete_request_dto=dimension_delete_request_dto,
|
|
483
|
+
target_tenant_id=target_tenant_id,
|
|
484
|
+
project_id=project_id,
|
|
485
|
+
_request_auth=_request_auth,
|
|
486
|
+
_content_type=_content_type,
|
|
487
|
+
_headers=_headers,
|
|
488
|
+
_host_index=_host_index
|
|
489
|
+
)
|
|
490
|
+
|
|
491
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
492
|
+
'200': "BulkChangeResponseDTO",
|
|
493
|
+
}
|
|
494
|
+
response_data = self.api_client.call_api(
|
|
495
|
+
*_param,
|
|
496
|
+
_request_timeout=_request_timeout
|
|
497
|
+
)
|
|
498
|
+
response_data.read()
|
|
499
|
+
return self.api_client.response_deserialize(
|
|
500
|
+
response_data=response_data,
|
|
501
|
+
response_types_map=_response_types_map,
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
@validate_call
|
|
506
|
+
def delete_dimensions_without_preload_content(
|
|
507
|
+
self,
|
|
508
|
+
dimension_delete_request_dto: DimensionDeleteRequestDTO,
|
|
509
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
510
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
511
|
+
_request_timeout: Union[
|
|
512
|
+
None,
|
|
513
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
514
|
+
Tuple[
|
|
515
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
516
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
517
|
+
]
|
|
518
|
+
] = None,
|
|
519
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
520
|
+
_content_type: Optional[StrictStr] = None,
|
|
521
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
522
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
523
|
+
) -> RESTResponseType:
|
|
524
|
+
"""Delete dimensions
|
|
525
|
+
|
|
526
|
+
Delete existing dimensions. The response returns whether each dimension was successfully deleted or not. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
527
|
+
|
|
528
|
+
:param dimension_delete_request_dto: (required)
|
|
529
|
+
:type dimension_delete_request_dto: DimensionDeleteRequestDTO
|
|
530
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
531
|
+
:type target_tenant_id: str
|
|
532
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
533
|
+
:type project_id: str
|
|
534
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
535
|
+
number provided, it will be total request
|
|
536
|
+
timeout. It can also be a pair (tuple) of
|
|
537
|
+
(connection, read) timeouts.
|
|
538
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
539
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
540
|
+
request; this effectively ignores the
|
|
541
|
+
authentication in the spec for a single request.
|
|
542
|
+
:type _request_auth: dict, optional
|
|
543
|
+
:param _content_type: force content-type for the request.
|
|
544
|
+
:type _content_type: str, Optional
|
|
545
|
+
:param _headers: set to override the headers for a single
|
|
546
|
+
request; this effectively ignores the headers
|
|
547
|
+
in the spec for a single request.
|
|
548
|
+
:type _headers: dict, optional
|
|
549
|
+
:param _host_index: set to override the host_index for a single
|
|
550
|
+
request; this effectively ignores the host_index
|
|
551
|
+
in the spec for a single request.
|
|
552
|
+
:type _host_index: int, optional
|
|
553
|
+
:return: Returns the result object.
|
|
554
|
+
""" # noqa: E501
|
|
555
|
+
|
|
556
|
+
_param = self._delete_dimensions_serialize(
|
|
557
|
+
dimension_delete_request_dto=dimension_delete_request_dto,
|
|
558
|
+
target_tenant_id=target_tenant_id,
|
|
559
|
+
project_id=project_id,
|
|
560
|
+
_request_auth=_request_auth,
|
|
561
|
+
_content_type=_content_type,
|
|
562
|
+
_headers=_headers,
|
|
563
|
+
_host_index=_host_index
|
|
564
|
+
)
|
|
565
|
+
|
|
566
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
567
|
+
'200': "BulkChangeResponseDTO",
|
|
568
|
+
}
|
|
569
|
+
response_data = self.api_client.call_api(
|
|
570
|
+
*_param,
|
|
571
|
+
_request_timeout=_request_timeout
|
|
572
|
+
)
|
|
573
|
+
return response_data.response
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
def _delete_dimensions_serialize(
|
|
577
|
+
self,
|
|
578
|
+
dimension_delete_request_dto,
|
|
579
|
+
target_tenant_id,
|
|
580
|
+
project_id,
|
|
581
|
+
_request_auth,
|
|
582
|
+
_content_type,
|
|
583
|
+
_headers,
|
|
584
|
+
_host_index,
|
|
585
|
+
) -> RequestSerialized:
|
|
586
|
+
|
|
587
|
+
_host = None
|
|
588
|
+
|
|
589
|
+
_collection_formats: Dict[str, str] = {
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
_path_params: Dict[str, str] = {}
|
|
593
|
+
_query_params: List[Tuple[str, str]] = []
|
|
594
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
595
|
+
_form_params: List[Tuple[str, str]] = []
|
|
596
|
+
_files: Dict[
|
|
597
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
598
|
+
] = {}
|
|
599
|
+
_body_params: Optional[bytes] = None
|
|
600
|
+
|
|
601
|
+
# process the path parameters
|
|
602
|
+
# process the query parameters
|
|
603
|
+
# process the header parameters
|
|
604
|
+
if target_tenant_id is not None:
|
|
605
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
606
|
+
if project_id is not None:
|
|
607
|
+
_header_params['ProjectID'] = project_id
|
|
608
|
+
# process the form parameters
|
|
609
|
+
# process the body parameter
|
|
610
|
+
if dimension_delete_request_dto is not None:
|
|
611
|
+
_body_params = dimension_delete_request_dto
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
# set the HTTP header `Accept`
|
|
615
|
+
if 'Accept' not in _header_params:
|
|
616
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
617
|
+
[
|
|
618
|
+
'application/json'
|
|
619
|
+
]
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
# set the HTTP header `Content-Type`
|
|
623
|
+
if _content_type:
|
|
624
|
+
_header_params['Content-Type'] = _content_type
|
|
625
|
+
else:
|
|
626
|
+
_default_content_type = (
|
|
627
|
+
self.api_client.select_header_content_type(
|
|
628
|
+
[
|
|
629
|
+
'application/json'
|
|
630
|
+
]
|
|
631
|
+
)
|
|
632
|
+
)
|
|
633
|
+
if _default_content_type is not None:
|
|
634
|
+
_header_params['Content-Type'] = _default_content_type
|
|
635
|
+
|
|
636
|
+
# authentication setting
|
|
637
|
+
_auth_settings: List[str] = [
|
|
638
|
+
'CookieAuth',
|
|
639
|
+
'ApiKeyAuth',
|
|
640
|
+
'OAuth2Auth',
|
|
641
|
+
'OAuth2Auth',
|
|
642
|
+
'BearerAuth'
|
|
643
|
+
]
|
|
644
|
+
|
|
645
|
+
return self.api_client.param_serialize(
|
|
646
|
+
method='DELETE',
|
|
647
|
+
resource_path='/v2alpha/data/model/dimensions',
|
|
648
|
+
path_params=_path_params,
|
|
649
|
+
query_params=_query_params,
|
|
650
|
+
header_params=_header_params,
|
|
651
|
+
body=_body_params,
|
|
652
|
+
post_params=_form_params,
|
|
653
|
+
files=_files,
|
|
654
|
+
auth_settings=_auth_settings,
|
|
655
|
+
collection_formats=_collection_formats,
|
|
656
|
+
_host=_host,
|
|
657
|
+
_request_auth=_request_auth
|
|
658
|
+
)
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
@validate_call
|
|
664
|
+
def get_all_dimensions(
|
|
665
|
+
self,
|
|
666
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
667
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
668
|
+
analytic_object_name: Annotated[Optional[List[StrictStr]], Field(description="The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
669
|
+
analytic_object_uuid: Annotated[Optional[List[StrictStr]], Field(description="The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
670
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
671
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
672
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
673
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
674
|
+
_request_timeout: Union[
|
|
675
|
+
None,
|
|
676
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
677
|
+
Tuple[
|
|
678
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
679
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
680
|
+
]
|
|
681
|
+
] = None,
|
|
682
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
683
|
+
_content_type: Optional[StrictStr] = None,
|
|
684
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
685
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
686
|
+
) -> DimensionResponseDTO:
|
|
687
|
+
"""Retrieve a list of dimensions
|
|
688
|
+
|
|
689
|
+
Retrieve a list of all dimensions in your Visier tenant. You can optionally filter dimensions by dimension type or analytic object. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
690
|
+
|
|
691
|
+
:param type: The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
692
|
+
:type type: List[str]
|
|
693
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
694
|
+
:type var_with: List[str]
|
|
695
|
+
:param analytic_object_name: The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
696
|
+
:type analytic_object_name: List[str]
|
|
697
|
+
:param analytic_object_uuid: The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
698
|
+
:type analytic_object_uuid: List[str]
|
|
699
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
700
|
+
:type object_name: List[str]
|
|
701
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
702
|
+
:type uuid: List[str]
|
|
703
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
704
|
+
:type target_tenant_id: str
|
|
705
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
706
|
+
:type project_id: str
|
|
707
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
708
|
+
number provided, it will be total request
|
|
709
|
+
timeout. It can also be a pair (tuple) of
|
|
710
|
+
(connection, read) timeouts.
|
|
711
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
712
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
713
|
+
request; this effectively ignores the
|
|
714
|
+
authentication in the spec for a single request.
|
|
715
|
+
:type _request_auth: dict, optional
|
|
716
|
+
:param _content_type: force content-type for the request.
|
|
717
|
+
:type _content_type: str, Optional
|
|
718
|
+
:param _headers: set to override the headers for a single
|
|
719
|
+
request; this effectively ignores the headers
|
|
720
|
+
in the spec for a single request.
|
|
721
|
+
:type _headers: dict, optional
|
|
722
|
+
:param _host_index: set to override the host_index for a single
|
|
723
|
+
request; this effectively ignores the host_index
|
|
724
|
+
in the spec for a single request.
|
|
725
|
+
:type _host_index: int, optional
|
|
726
|
+
:return: Returns the result object.
|
|
727
|
+
""" # noqa: E501
|
|
728
|
+
|
|
729
|
+
_param = self._get_all_dimensions_serialize(
|
|
730
|
+
type=type,
|
|
731
|
+
var_with=var_with,
|
|
732
|
+
analytic_object_name=analytic_object_name,
|
|
733
|
+
analytic_object_uuid=analytic_object_uuid,
|
|
734
|
+
object_name=object_name,
|
|
735
|
+
uuid=uuid,
|
|
736
|
+
target_tenant_id=target_tenant_id,
|
|
737
|
+
project_id=project_id,
|
|
738
|
+
_request_auth=_request_auth,
|
|
739
|
+
_content_type=_content_type,
|
|
740
|
+
_headers=_headers,
|
|
741
|
+
_host_index=_host_index
|
|
742
|
+
)
|
|
743
|
+
|
|
744
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
745
|
+
'200': "DimensionResponseDTO",
|
|
746
|
+
}
|
|
747
|
+
response_data = self.api_client.call_api(
|
|
748
|
+
*_param,
|
|
749
|
+
_request_timeout=_request_timeout
|
|
750
|
+
)
|
|
751
|
+
response_data.read()
|
|
752
|
+
return self.api_client.response_deserialize(
|
|
753
|
+
response_data=response_data,
|
|
754
|
+
response_types_map=_response_types_map,
|
|
755
|
+
).data
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
@validate_call
|
|
759
|
+
def get_all_dimensions_with_http_info(
|
|
760
|
+
self,
|
|
761
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
762
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
763
|
+
analytic_object_name: Annotated[Optional[List[StrictStr]], Field(description="The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
764
|
+
analytic_object_uuid: Annotated[Optional[List[StrictStr]], Field(description="The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
765
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
766
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
767
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
768
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
769
|
+
_request_timeout: Union[
|
|
770
|
+
None,
|
|
771
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
772
|
+
Tuple[
|
|
773
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
774
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
775
|
+
]
|
|
776
|
+
] = None,
|
|
777
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
778
|
+
_content_type: Optional[StrictStr] = None,
|
|
779
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
780
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
781
|
+
) -> ApiResponse[DimensionResponseDTO]:
|
|
782
|
+
"""Retrieve a list of dimensions
|
|
783
|
+
|
|
784
|
+
Retrieve a list of all dimensions in your Visier tenant. You can optionally filter dimensions by dimension type or analytic object. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
785
|
+
|
|
786
|
+
:param type: The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
787
|
+
:type type: List[str]
|
|
788
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
789
|
+
:type var_with: List[str]
|
|
790
|
+
:param analytic_object_name: The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
791
|
+
:type analytic_object_name: List[str]
|
|
792
|
+
:param analytic_object_uuid: The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
793
|
+
:type analytic_object_uuid: List[str]
|
|
794
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
795
|
+
:type object_name: List[str]
|
|
796
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
797
|
+
:type uuid: List[str]
|
|
798
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
799
|
+
:type target_tenant_id: str
|
|
800
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
801
|
+
:type project_id: str
|
|
802
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
803
|
+
number provided, it will be total request
|
|
804
|
+
timeout. It can also be a pair (tuple) of
|
|
805
|
+
(connection, read) timeouts.
|
|
806
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
807
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
808
|
+
request; this effectively ignores the
|
|
809
|
+
authentication in the spec for a single request.
|
|
810
|
+
:type _request_auth: dict, optional
|
|
811
|
+
:param _content_type: force content-type for the request.
|
|
812
|
+
:type _content_type: str, Optional
|
|
813
|
+
:param _headers: set to override the headers for a single
|
|
814
|
+
request; this effectively ignores the headers
|
|
815
|
+
in the spec for a single request.
|
|
816
|
+
:type _headers: dict, optional
|
|
817
|
+
:param _host_index: set to override the host_index for a single
|
|
818
|
+
request; this effectively ignores the host_index
|
|
819
|
+
in the spec for a single request.
|
|
820
|
+
:type _host_index: int, optional
|
|
821
|
+
:return: Returns the result object.
|
|
822
|
+
""" # noqa: E501
|
|
823
|
+
|
|
824
|
+
_param = self._get_all_dimensions_serialize(
|
|
825
|
+
type=type,
|
|
826
|
+
var_with=var_with,
|
|
827
|
+
analytic_object_name=analytic_object_name,
|
|
828
|
+
analytic_object_uuid=analytic_object_uuid,
|
|
829
|
+
object_name=object_name,
|
|
830
|
+
uuid=uuid,
|
|
831
|
+
target_tenant_id=target_tenant_id,
|
|
832
|
+
project_id=project_id,
|
|
833
|
+
_request_auth=_request_auth,
|
|
834
|
+
_content_type=_content_type,
|
|
835
|
+
_headers=_headers,
|
|
836
|
+
_host_index=_host_index
|
|
837
|
+
)
|
|
838
|
+
|
|
839
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
840
|
+
'200': "DimensionResponseDTO",
|
|
841
|
+
}
|
|
842
|
+
response_data = self.api_client.call_api(
|
|
843
|
+
*_param,
|
|
844
|
+
_request_timeout=_request_timeout
|
|
845
|
+
)
|
|
846
|
+
response_data.read()
|
|
847
|
+
return self.api_client.response_deserialize(
|
|
848
|
+
response_data=response_data,
|
|
849
|
+
response_types_map=_response_types_map,
|
|
850
|
+
)
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
@validate_call
|
|
854
|
+
def get_all_dimensions_without_preload_content(
|
|
855
|
+
self,
|
|
856
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
857
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
858
|
+
analytic_object_name: Annotated[Optional[List[StrictStr]], Field(description="The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
859
|
+
analytic_object_uuid: Annotated[Optional[List[StrictStr]], Field(description="The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.")] = None,
|
|
860
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
861
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
862
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
863
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
864
|
+
_request_timeout: Union[
|
|
865
|
+
None,
|
|
866
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
867
|
+
Tuple[
|
|
868
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
869
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
870
|
+
]
|
|
871
|
+
] = None,
|
|
872
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
873
|
+
_content_type: Optional[StrictStr] = None,
|
|
874
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
875
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
876
|
+
) -> RESTResponseType:
|
|
877
|
+
"""Retrieve a list of dimensions
|
|
878
|
+
|
|
879
|
+
Retrieve a list of all dimensions in your Visier tenant. You can optionally filter dimensions by dimension type or analytic object. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
880
|
+
|
|
881
|
+
:param type: The type of the dimension to retrieve. If undefined, retrieves all dimension types. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
882
|
+
:type type: List[str]
|
|
883
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
884
|
+
:type var_with: List[str]
|
|
885
|
+
:param analytic_object_name: The object names of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
886
|
+
:type analytic_object_name: List[str]
|
|
887
|
+
:param analytic_object_uuid: The UUIDs of the analytic objects from which to retrieve dimensions. Default is to return dimensions from all analytic objects.
|
|
888
|
+
:type analytic_object_uuid: List[str]
|
|
889
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
890
|
+
:type object_name: List[str]
|
|
891
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
892
|
+
:type uuid: List[str]
|
|
893
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
894
|
+
:type target_tenant_id: str
|
|
895
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
896
|
+
:type project_id: str
|
|
897
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
898
|
+
number provided, it will be total request
|
|
899
|
+
timeout. It can also be a pair (tuple) of
|
|
900
|
+
(connection, read) timeouts.
|
|
901
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
902
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
903
|
+
request; this effectively ignores the
|
|
904
|
+
authentication in the spec for a single request.
|
|
905
|
+
:type _request_auth: dict, optional
|
|
906
|
+
:param _content_type: force content-type for the request.
|
|
907
|
+
:type _content_type: str, Optional
|
|
908
|
+
:param _headers: set to override the headers for a single
|
|
909
|
+
request; this effectively ignores the headers
|
|
910
|
+
in the spec for a single request.
|
|
911
|
+
:type _headers: dict, optional
|
|
912
|
+
:param _host_index: set to override the host_index for a single
|
|
913
|
+
request; this effectively ignores the host_index
|
|
914
|
+
in the spec for a single request.
|
|
915
|
+
:type _host_index: int, optional
|
|
916
|
+
:return: Returns the result object.
|
|
917
|
+
""" # noqa: E501
|
|
918
|
+
|
|
919
|
+
_param = self._get_all_dimensions_serialize(
|
|
920
|
+
type=type,
|
|
921
|
+
var_with=var_with,
|
|
922
|
+
analytic_object_name=analytic_object_name,
|
|
923
|
+
analytic_object_uuid=analytic_object_uuid,
|
|
924
|
+
object_name=object_name,
|
|
925
|
+
uuid=uuid,
|
|
926
|
+
target_tenant_id=target_tenant_id,
|
|
927
|
+
project_id=project_id,
|
|
928
|
+
_request_auth=_request_auth,
|
|
929
|
+
_content_type=_content_type,
|
|
930
|
+
_headers=_headers,
|
|
931
|
+
_host_index=_host_index
|
|
932
|
+
)
|
|
933
|
+
|
|
934
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
935
|
+
'200': "DimensionResponseDTO",
|
|
936
|
+
}
|
|
937
|
+
response_data = self.api_client.call_api(
|
|
938
|
+
*_param,
|
|
939
|
+
_request_timeout=_request_timeout
|
|
940
|
+
)
|
|
941
|
+
return response_data.response
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
def _get_all_dimensions_serialize(
|
|
945
|
+
self,
|
|
946
|
+
type,
|
|
947
|
+
var_with,
|
|
948
|
+
analytic_object_name,
|
|
949
|
+
analytic_object_uuid,
|
|
950
|
+
object_name,
|
|
951
|
+
uuid,
|
|
952
|
+
target_tenant_id,
|
|
953
|
+
project_id,
|
|
954
|
+
_request_auth,
|
|
955
|
+
_content_type,
|
|
956
|
+
_headers,
|
|
957
|
+
_host_index,
|
|
958
|
+
) -> RequestSerialized:
|
|
959
|
+
|
|
960
|
+
_host = None
|
|
961
|
+
|
|
962
|
+
_collection_formats: Dict[str, str] = {
|
|
963
|
+
'type': 'multi',
|
|
964
|
+
'with': 'multi',
|
|
965
|
+
'analyticObjectName': 'multi',
|
|
966
|
+
'analyticObjectUuid': 'multi',
|
|
967
|
+
'objectName': 'multi',
|
|
968
|
+
'uuid': 'multi',
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
_path_params: Dict[str, str] = {}
|
|
972
|
+
_query_params: List[Tuple[str, str]] = []
|
|
973
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
974
|
+
_form_params: List[Tuple[str, str]] = []
|
|
975
|
+
_files: Dict[
|
|
976
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
977
|
+
] = {}
|
|
978
|
+
_body_params: Optional[bytes] = None
|
|
979
|
+
|
|
980
|
+
# process the path parameters
|
|
981
|
+
# process the query parameters
|
|
982
|
+
if type is not None:
|
|
983
|
+
|
|
984
|
+
_query_params.append(('type', type))
|
|
985
|
+
|
|
986
|
+
if var_with is not None:
|
|
987
|
+
|
|
988
|
+
_query_params.append(('with', var_with))
|
|
989
|
+
|
|
990
|
+
if analytic_object_name is not None:
|
|
991
|
+
|
|
992
|
+
_query_params.append(('analyticObjectName', analytic_object_name))
|
|
993
|
+
|
|
994
|
+
if analytic_object_uuid is not None:
|
|
995
|
+
|
|
996
|
+
_query_params.append(('analyticObjectUuid', analytic_object_uuid))
|
|
997
|
+
|
|
998
|
+
if object_name is not None:
|
|
999
|
+
|
|
1000
|
+
_query_params.append(('objectName', object_name))
|
|
1001
|
+
|
|
1002
|
+
if uuid is not None:
|
|
1003
|
+
|
|
1004
|
+
_query_params.append(('uuid', uuid))
|
|
1005
|
+
|
|
1006
|
+
# process the header parameters
|
|
1007
|
+
if target_tenant_id is not None:
|
|
1008
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1009
|
+
if project_id is not None:
|
|
1010
|
+
_header_params['ProjectID'] = project_id
|
|
1011
|
+
# process the form parameters
|
|
1012
|
+
# process the body parameter
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
# set the HTTP header `Accept`
|
|
1016
|
+
if 'Accept' not in _header_params:
|
|
1017
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1018
|
+
[
|
|
1019
|
+
'application/json'
|
|
1020
|
+
]
|
|
1021
|
+
)
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
# authentication setting
|
|
1025
|
+
_auth_settings: List[str] = [
|
|
1026
|
+
'CookieAuth',
|
|
1027
|
+
'ApiKeyAuth',
|
|
1028
|
+
'OAuth2Auth',
|
|
1029
|
+
'OAuth2Auth',
|
|
1030
|
+
'BearerAuth'
|
|
1031
|
+
]
|
|
1032
|
+
|
|
1033
|
+
return self.api_client.param_serialize(
|
|
1034
|
+
method='GET',
|
|
1035
|
+
resource_path='/v2alpha/data/model/dimensions',
|
|
1036
|
+
path_params=_path_params,
|
|
1037
|
+
query_params=_query_params,
|
|
1038
|
+
header_params=_header_params,
|
|
1039
|
+
body=_body_params,
|
|
1040
|
+
post_params=_form_params,
|
|
1041
|
+
files=_files,
|
|
1042
|
+
auth_settings=_auth_settings,
|
|
1043
|
+
collection_formats=_collection_formats,
|
|
1044
|
+
_host=_host,
|
|
1045
|
+
_request_auth=_request_auth
|
|
1046
|
+
)
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
@validate_call
|
|
1052
|
+
def get_analytic_object_dimensions(
|
|
1053
|
+
self,
|
|
1054
|
+
analytic_object_id: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object from which to retrieve dimensions.")],
|
|
1055
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
1056
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
1057
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1058
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1059
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1060
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1061
|
+
_request_timeout: Union[
|
|
1062
|
+
None,
|
|
1063
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1064
|
+
Tuple[
|
|
1065
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1066
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1067
|
+
]
|
|
1068
|
+
] = None,
|
|
1069
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1070
|
+
_content_type: Optional[StrictStr] = None,
|
|
1071
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1072
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1073
|
+
) -> DimensionResponseDTO:
|
|
1074
|
+
"""Retrieve a list of dimensions by analytic object
|
|
1075
|
+
|
|
1076
|
+
Retrieve all the dimensions for a specific analytic object. The response returns the details of all dimensions for the analytic object, including object names, dimension types, and descriptions. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1077
|
+
|
|
1078
|
+
:param analytic_object_id: The object name or UUID of the analytic object from which to retrieve dimensions. (required)
|
|
1079
|
+
:type analytic_object_id: str
|
|
1080
|
+
:param type: The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
1081
|
+
:type type: List[str]
|
|
1082
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
1083
|
+
:type var_with: List[str]
|
|
1084
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
1085
|
+
:type object_name: List[str]
|
|
1086
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
1087
|
+
:type uuid: List[str]
|
|
1088
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1089
|
+
:type target_tenant_id: str
|
|
1090
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1091
|
+
:type project_id: str
|
|
1092
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1093
|
+
number provided, it will be total request
|
|
1094
|
+
timeout. It can also be a pair (tuple) of
|
|
1095
|
+
(connection, read) timeouts.
|
|
1096
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1097
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1098
|
+
request; this effectively ignores the
|
|
1099
|
+
authentication in the spec for a single request.
|
|
1100
|
+
:type _request_auth: dict, optional
|
|
1101
|
+
:param _content_type: force content-type for the request.
|
|
1102
|
+
:type _content_type: str, Optional
|
|
1103
|
+
:param _headers: set to override the headers for a single
|
|
1104
|
+
request; this effectively ignores the headers
|
|
1105
|
+
in the spec for a single request.
|
|
1106
|
+
:type _headers: dict, optional
|
|
1107
|
+
:param _host_index: set to override the host_index for a single
|
|
1108
|
+
request; this effectively ignores the host_index
|
|
1109
|
+
in the spec for a single request.
|
|
1110
|
+
:type _host_index: int, optional
|
|
1111
|
+
:return: Returns the result object.
|
|
1112
|
+
""" # noqa: E501
|
|
1113
|
+
|
|
1114
|
+
_param = self._get_analytic_object_dimensions_serialize(
|
|
1115
|
+
analytic_object_id=analytic_object_id,
|
|
1116
|
+
type=type,
|
|
1117
|
+
var_with=var_with,
|
|
1118
|
+
object_name=object_name,
|
|
1119
|
+
uuid=uuid,
|
|
1120
|
+
target_tenant_id=target_tenant_id,
|
|
1121
|
+
project_id=project_id,
|
|
1122
|
+
_request_auth=_request_auth,
|
|
1123
|
+
_content_type=_content_type,
|
|
1124
|
+
_headers=_headers,
|
|
1125
|
+
_host_index=_host_index
|
|
1126
|
+
)
|
|
1127
|
+
|
|
1128
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1129
|
+
'200': "DimensionResponseDTO",
|
|
1130
|
+
}
|
|
1131
|
+
response_data = self.api_client.call_api(
|
|
1132
|
+
*_param,
|
|
1133
|
+
_request_timeout=_request_timeout
|
|
1134
|
+
)
|
|
1135
|
+
response_data.read()
|
|
1136
|
+
return self.api_client.response_deserialize(
|
|
1137
|
+
response_data=response_data,
|
|
1138
|
+
response_types_map=_response_types_map,
|
|
1139
|
+
).data
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
@validate_call
|
|
1143
|
+
def get_analytic_object_dimensions_with_http_info(
|
|
1144
|
+
self,
|
|
1145
|
+
analytic_object_id: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object from which to retrieve dimensions.")],
|
|
1146
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
1147
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
1148
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1149
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1150
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1151
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1152
|
+
_request_timeout: Union[
|
|
1153
|
+
None,
|
|
1154
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1155
|
+
Tuple[
|
|
1156
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1157
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1158
|
+
]
|
|
1159
|
+
] = None,
|
|
1160
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1161
|
+
_content_type: Optional[StrictStr] = None,
|
|
1162
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1163
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1164
|
+
) -> ApiResponse[DimensionResponseDTO]:
|
|
1165
|
+
"""Retrieve a list of dimensions by analytic object
|
|
1166
|
+
|
|
1167
|
+
Retrieve all the dimensions for a specific analytic object. The response returns the details of all dimensions for the analytic object, including object names, dimension types, and descriptions. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1168
|
+
|
|
1169
|
+
:param analytic_object_id: The object name or UUID of the analytic object from which to retrieve dimensions. (required)
|
|
1170
|
+
:type analytic_object_id: str
|
|
1171
|
+
:param type: The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
1172
|
+
:type type: List[str]
|
|
1173
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
1174
|
+
:type var_with: List[str]
|
|
1175
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
1176
|
+
:type object_name: List[str]
|
|
1177
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
1178
|
+
:type uuid: List[str]
|
|
1179
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1180
|
+
:type target_tenant_id: str
|
|
1181
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1182
|
+
:type project_id: str
|
|
1183
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1184
|
+
number provided, it will be total request
|
|
1185
|
+
timeout. It can also be a pair (tuple) of
|
|
1186
|
+
(connection, read) timeouts.
|
|
1187
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1188
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1189
|
+
request; this effectively ignores the
|
|
1190
|
+
authentication in the spec for a single request.
|
|
1191
|
+
:type _request_auth: dict, optional
|
|
1192
|
+
:param _content_type: force content-type for the request.
|
|
1193
|
+
:type _content_type: str, Optional
|
|
1194
|
+
:param _headers: set to override the headers for a single
|
|
1195
|
+
request; this effectively ignores the headers
|
|
1196
|
+
in the spec for a single request.
|
|
1197
|
+
:type _headers: dict, optional
|
|
1198
|
+
:param _host_index: set to override the host_index for a single
|
|
1199
|
+
request; this effectively ignores the host_index
|
|
1200
|
+
in the spec for a single request.
|
|
1201
|
+
:type _host_index: int, optional
|
|
1202
|
+
:return: Returns the result object.
|
|
1203
|
+
""" # noqa: E501
|
|
1204
|
+
|
|
1205
|
+
_param = self._get_analytic_object_dimensions_serialize(
|
|
1206
|
+
analytic_object_id=analytic_object_id,
|
|
1207
|
+
type=type,
|
|
1208
|
+
var_with=var_with,
|
|
1209
|
+
object_name=object_name,
|
|
1210
|
+
uuid=uuid,
|
|
1211
|
+
target_tenant_id=target_tenant_id,
|
|
1212
|
+
project_id=project_id,
|
|
1213
|
+
_request_auth=_request_auth,
|
|
1214
|
+
_content_type=_content_type,
|
|
1215
|
+
_headers=_headers,
|
|
1216
|
+
_host_index=_host_index
|
|
1217
|
+
)
|
|
1218
|
+
|
|
1219
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1220
|
+
'200': "DimensionResponseDTO",
|
|
1221
|
+
}
|
|
1222
|
+
response_data = self.api_client.call_api(
|
|
1223
|
+
*_param,
|
|
1224
|
+
_request_timeout=_request_timeout
|
|
1225
|
+
)
|
|
1226
|
+
response_data.read()
|
|
1227
|
+
return self.api_client.response_deserialize(
|
|
1228
|
+
response_data=response_data,
|
|
1229
|
+
response_types_map=_response_types_map,
|
|
1230
|
+
)
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
@validate_call
|
|
1234
|
+
def get_analytic_object_dimensions_without_preload_content(
|
|
1235
|
+
self,
|
|
1236
|
+
analytic_object_id: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object from which to retrieve dimensions.")],
|
|
1237
|
+
type: Annotated[Optional[List[StrictStr]], Field(description="The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.")] = None,
|
|
1238
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.")] = None,
|
|
1239
|
+
object_name: Annotated[Optional[List[StrictStr]], Field(description="The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1240
|
+
uuid: Annotated[Optional[List[StrictStr]], Field(description="The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None,
|
|
1241
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1242
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1243
|
+
_request_timeout: Union[
|
|
1244
|
+
None,
|
|
1245
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1246
|
+
Tuple[
|
|
1247
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1248
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1249
|
+
]
|
|
1250
|
+
] = None,
|
|
1251
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1252
|
+
_content_type: Optional[StrictStr] = None,
|
|
1253
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1254
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1255
|
+
) -> RESTResponseType:
|
|
1256
|
+
"""Retrieve a list of dimensions by analytic object
|
|
1257
|
+
|
|
1258
|
+
Retrieve all the dimensions for a specific analytic object. The response returns the details of all dimensions for the analytic object, including object names, dimension types, and descriptions. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1259
|
+
|
|
1260
|
+
:param analytic_object_id: The object name or UUID of the analytic object from which to retrieve dimensions. (required)
|
|
1261
|
+
:type analytic_object_id: str
|
|
1262
|
+
:param type: The type of the dimension to retrieve. Valid values: - `leveled`: Retrieves leveled dimensions. - `parentChild`: Retrieves parent-child dimensions.
|
|
1263
|
+
:type type: List[str]
|
|
1264
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings.
|
|
1265
|
+
:type var_with: List[str]
|
|
1266
|
+
:param object_name: The dimension object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.
|
|
1267
|
+
:type object_name: List[str]
|
|
1268
|
+
:param uuid: The dimension UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.
|
|
1269
|
+
:type uuid: List[str]
|
|
1270
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1271
|
+
:type target_tenant_id: str
|
|
1272
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1273
|
+
:type project_id: str
|
|
1274
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1275
|
+
number provided, it will be total request
|
|
1276
|
+
timeout. It can also be a pair (tuple) of
|
|
1277
|
+
(connection, read) timeouts.
|
|
1278
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1279
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1280
|
+
request; this effectively ignores the
|
|
1281
|
+
authentication in the spec for a single request.
|
|
1282
|
+
:type _request_auth: dict, optional
|
|
1283
|
+
:param _content_type: force content-type for the request.
|
|
1284
|
+
:type _content_type: str, Optional
|
|
1285
|
+
:param _headers: set to override the headers for a single
|
|
1286
|
+
request; this effectively ignores the headers
|
|
1287
|
+
in the spec for a single request.
|
|
1288
|
+
:type _headers: dict, optional
|
|
1289
|
+
:param _host_index: set to override the host_index for a single
|
|
1290
|
+
request; this effectively ignores the host_index
|
|
1291
|
+
in the spec for a single request.
|
|
1292
|
+
:type _host_index: int, optional
|
|
1293
|
+
:return: Returns the result object.
|
|
1294
|
+
""" # noqa: E501
|
|
1295
|
+
|
|
1296
|
+
_param = self._get_analytic_object_dimensions_serialize(
|
|
1297
|
+
analytic_object_id=analytic_object_id,
|
|
1298
|
+
type=type,
|
|
1299
|
+
var_with=var_with,
|
|
1300
|
+
object_name=object_name,
|
|
1301
|
+
uuid=uuid,
|
|
1302
|
+
target_tenant_id=target_tenant_id,
|
|
1303
|
+
project_id=project_id,
|
|
1304
|
+
_request_auth=_request_auth,
|
|
1305
|
+
_content_type=_content_type,
|
|
1306
|
+
_headers=_headers,
|
|
1307
|
+
_host_index=_host_index
|
|
1308
|
+
)
|
|
1309
|
+
|
|
1310
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1311
|
+
'200': "DimensionResponseDTO",
|
|
1312
|
+
}
|
|
1313
|
+
response_data = self.api_client.call_api(
|
|
1314
|
+
*_param,
|
|
1315
|
+
_request_timeout=_request_timeout
|
|
1316
|
+
)
|
|
1317
|
+
return response_data.response
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
def _get_analytic_object_dimensions_serialize(
|
|
1321
|
+
self,
|
|
1322
|
+
analytic_object_id,
|
|
1323
|
+
type,
|
|
1324
|
+
var_with,
|
|
1325
|
+
object_name,
|
|
1326
|
+
uuid,
|
|
1327
|
+
target_tenant_id,
|
|
1328
|
+
project_id,
|
|
1329
|
+
_request_auth,
|
|
1330
|
+
_content_type,
|
|
1331
|
+
_headers,
|
|
1332
|
+
_host_index,
|
|
1333
|
+
) -> RequestSerialized:
|
|
1334
|
+
|
|
1335
|
+
_host = None
|
|
1336
|
+
|
|
1337
|
+
_collection_formats: Dict[str, str] = {
|
|
1338
|
+
'type': 'multi',
|
|
1339
|
+
'with': 'multi',
|
|
1340
|
+
'objectName': 'multi',
|
|
1341
|
+
'uuid': 'multi',
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
_path_params: Dict[str, str] = {}
|
|
1345
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1346
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1347
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1348
|
+
_files: Dict[
|
|
1349
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1350
|
+
] = {}
|
|
1351
|
+
_body_params: Optional[bytes] = None
|
|
1352
|
+
|
|
1353
|
+
# process the path parameters
|
|
1354
|
+
if analytic_object_id is not None:
|
|
1355
|
+
_path_params['analyticObjectId'] = analytic_object_id
|
|
1356
|
+
# process the query parameters
|
|
1357
|
+
if type is not None:
|
|
1358
|
+
|
|
1359
|
+
_query_params.append(('type', type))
|
|
1360
|
+
|
|
1361
|
+
if var_with is not None:
|
|
1362
|
+
|
|
1363
|
+
_query_params.append(('with', var_with))
|
|
1364
|
+
|
|
1365
|
+
if object_name is not None:
|
|
1366
|
+
|
|
1367
|
+
_query_params.append(('objectName', object_name))
|
|
1368
|
+
|
|
1369
|
+
if uuid is not None:
|
|
1370
|
+
|
|
1371
|
+
_query_params.append(('uuid', uuid))
|
|
1372
|
+
|
|
1373
|
+
# process the header parameters
|
|
1374
|
+
if target_tenant_id is not None:
|
|
1375
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1376
|
+
if project_id is not None:
|
|
1377
|
+
_header_params['ProjectID'] = project_id
|
|
1378
|
+
# process the form parameters
|
|
1379
|
+
# process the body parameter
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
# set the HTTP header `Accept`
|
|
1383
|
+
if 'Accept' not in _header_params:
|
|
1384
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1385
|
+
[
|
|
1386
|
+
'application/json'
|
|
1387
|
+
]
|
|
1388
|
+
)
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
# authentication setting
|
|
1392
|
+
_auth_settings: List[str] = [
|
|
1393
|
+
'CookieAuth',
|
|
1394
|
+
'ApiKeyAuth',
|
|
1395
|
+
'OAuth2Auth',
|
|
1396
|
+
'OAuth2Auth',
|
|
1397
|
+
'BearerAuth'
|
|
1398
|
+
]
|
|
1399
|
+
|
|
1400
|
+
return self.api_client.param_serialize(
|
|
1401
|
+
method='GET',
|
|
1402
|
+
resource_path='/v2alpha/data/model/analytic-objects/{analyticObjectId}/dimensions',
|
|
1403
|
+
path_params=_path_params,
|
|
1404
|
+
query_params=_query_params,
|
|
1405
|
+
header_params=_header_params,
|
|
1406
|
+
body=_body_params,
|
|
1407
|
+
post_params=_form_params,
|
|
1408
|
+
files=_files,
|
|
1409
|
+
auth_settings=_auth_settings,
|
|
1410
|
+
collection_formats=_collection_formats,
|
|
1411
|
+
_host=_host,
|
|
1412
|
+
_request_auth=_request_auth
|
|
1413
|
+
)
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
@validate_call
|
|
1419
|
+
def get_one_dimension(
|
|
1420
|
+
self,
|
|
1421
|
+
dimension_id: Annotated[StrictStr, Field(description="The object name or UUID of the dimension to retrieve.")],
|
|
1422
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.")] = None,
|
|
1423
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1424
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1425
|
+
_request_timeout: Union[
|
|
1426
|
+
None,
|
|
1427
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1428
|
+
Tuple[
|
|
1429
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1430
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1431
|
+
]
|
|
1432
|
+
] = None,
|
|
1433
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1434
|
+
_content_type: Optional[StrictStr] = None,
|
|
1435
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1436
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1437
|
+
) -> DimensionWithContextDTO:
|
|
1438
|
+
"""Retrieve a dimension's details
|
|
1439
|
+
|
|
1440
|
+
Retrieve the details of a specific dimension, such as its dimension type and description. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1441
|
+
|
|
1442
|
+
:param dimension_id: The object name or UUID of the dimension to retrieve. (required)
|
|
1443
|
+
:type dimension_id: str
|
|
1444
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.
|
|
1445
|
+
:type var_with: List[str]
|
|
1446
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1447
|
+
:type target_tenant_id: str
|
|
1448
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1449
|
+
:type project_id: str
|
|
1450
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1451
|
+
number provided, it will be total request
|
|
1452
|
+
timeout. It can also be a pair (tuple) of
|
|
1453
|
+
(connection, read) timeouts.
|
|
1454
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1455
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1456
|
+
request; this effectively ignores the
|
|
1457
|
+
authentication in the spec for a single request.
|
|
1458
|
+
:type _request_auth: dict, optional
|
|
1459
|
+
:param _content_type: force content-type for the request.
|
|
1460
|
+
:type _content_type: str, Optional
|
|
1461
|
+
:param _headers: set to override the headers for a single
|
|
1462
|
+
request; this effectively ignores the headers
|
|
1463
|
+
in the spec for a single request.
|
|
1464
|
+
:type _headers: dict, optional
|
|
1465
|
+
:param _host_index: set to override the host_index for a single
|
|
1466
|
+
request; this effectively ignores the host_index
|
|
1467
|
+
in the spec for a single request.
|
|
1468
|
+
:type _host_index: int, optional
|
|
1469
|
+
:return: Returns the result object.
|
|
1470
|
+
""" # noqa: E501
|
|
1471
|
+
|
|
1472
|
+
_param = self._get_one_dimension_serialize(
|
|
1473
|
+
dimension_id=dimension_id,
|
|
1474
|
+
var_with=var_with,
|
|
1475
|
+
target_tenant_id=target_tenant_id,
|
|
1476
|
+
project_id=project_id,
|
|
1477
|
+
_request_auth=_request_auth,
|
|
1478
|
+
_content_type=_content_type,
|
|
1479
|
+
_headers=_headers,
|
|
1480
|
+
_host_index=_host_index
|
|
1481
|
+
)
|
|
1482
|
+
|
|
1483
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1484
|
+
'200': "DimensionWithContextDTO",
|
|
1485
|
+
}
|
|
1486
|
+
response_data = self.api_client.call_api(
|
|
1487
|
+
*_param,
|
|
1488
|
+
_request_timeout=_request_timeout
|
|
1489
|
+
)
|
|
1490
|
+
response_data.read()
|
|
1491
|
+
return self.api_client.response_deserialize(
|
|
1492
|
+
response_data=response_data,
|
|
1493
|
+
response_types_map=_response_types_map,
|
|
1494
|
+
).data
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
@validate_call
|
|
1498
|
+
def get_one_dimension_with_http_info(
|
|
1499
|
+
self,
|
|
1500
|
+
dimension_id: Annotated[StrictStr, Field(description="The object name or UUID of the dimension to retrieve.")],
|
|
1501
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.")] = None,
|
|
1502
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1503
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1504
|
+
_request_timeout: Union[
|
|
1505
|
+
None,
|
|
1506
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1507
|
+
Tuple[
|
|
1508
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1509
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1510
|
+
]
|
|
1511
|
+
] = None,
|
|
1512
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1513
|
+
_content_type: Optional[StrictStr] = None,
|
|
1514
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1515
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1516
|
+
) -> ApiResponse[DimensionWithContextDTO]:
|
|
1517
|
+
"""Retrieve a dimension's details
|
|
1518
|
+
|
|
1519
|
+
Retrieve the details of a specific dimension, such as its dimension type and description. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1520
|
+
|
|
1521
|
+
:param dimension_id: The object name or UUID of the dimension to retrieve. (required)
|
|
1522
|
+
:type dimension_id: str
|
|
1523
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.
|
|
1524
|
+
:type var_with: List[str]
|
|
1525
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1526
|
+
:type target_tenant_id: str
|
|
1527
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1528
|
+
:type project_id: str
|
|
1529
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1530
|
+
number provided, it will be total request
|
|
1531
|
+
timeout. It can also be a pair (tuple) of
|
|
1532
|
+
(connection, read) timeouts.
|
|
1533
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1534
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1535
|
+
request; this effectively ignores the
|
|
1536
|
+
authentication in the spec for a single request.
|
|
1537
|
+
:type _request_auth: dict, optional
|
|
1538
|
+
:param _content_type: force content-type for the request.
|
|
1539
|
+
:type _content_type: str, Optional
|
|
1540
|
+
:param _headers: set to override the headers for a single
|
|
1541
|
+
request; this effectively ignores the headers
|
|
1542
|
+
in the spec for a single request.
|
|
1543
|
+
:type _headers: dict, optional
|
|
1544
|
+
:param _host_index: set to override the host_index for a single
|
|
1545
|
+
request; this effectively ignores the host_index
|
|
1546
|
+
in the spec for a single request.
|
|
1547
|
+
:type _host_index: int, optional
|
|
1548
|
+
:return: Returns the result object.
|
|
1549
|
+
""" # noqa: E501
|
|
1550
|
+
|
|
1551
|
+
_param = self._get_one_dimension_serialize(
|
|
1552
|
+
dimension_id=dimension_id,
|
|
1553
|
+
var_with=var_with,
|
|
1554
|
+
target_tenant_id=target_tenant_id,
|
|
1555
|
+
project_id=project_id,
|
|
1556
|
+
_request_auth=_request_auth,
|
|
1557
|
+
_content_type=_content_type,
|
|
1558
|
+
_headers=_headers,
|
|
1559
|
+
_host_index=_host_index
|
|
1560
|
+
)
|
|
1561
|
+
|
|
1562
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1563
|
+
'200': "DimensionWithContextDTO",
|
|
1564
|
+
}
|
|
1565
|
+
response_data = self.api_client.call_api(
|
|
1566
|
+
*_param,
|
|
1567
|
+
_request_timeout=_request_timeout
|
|
1568
|
+
)
|
|
1569
|
+
response_data.read()
|
|
1570
|
+
return self.api_client.response_deserialize(
|
|
1571
|
+
response_data=response_data,
|
|
1572
|
+
response_types_map=_response_types_map,
|
|
1573
|
+
)
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
@validate_call
|
|
1577
|
+
def get_one_dimension_without_preload_content(
|
|
1578
|
+
self,
|
|
1579
|
+
dimension_id: Annotated[StrictStr, Field(description="The object name or UUID of the dimension to retrieve.")],
|
|
1580
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.")] = None,
|
|
1581
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1582
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1583
|
+
_request_timeout: Union[
|
|
1584
|
+
None,
|
|
1585
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1586
|
+
Tuple[
|
|
1587
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1588
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1589
|
+
]
|
|
1590
|
+
] = None,
|
|
1591
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1592
|
+
_content_type: Optional[StrictStr] = None,
|
|
1593
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1594
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1595
|
+
) -> RESTResponseType:
|
|
1596
|
+
"""Retrieve a dimension's details
|
|
1597
|
+
|
|
1598
|
+
Retrieve the details of a specific dimension, such as its dimension type and description. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1599
|
+
|
|
1600
|
+
:param dimension_id: The object name or UUID of the dimension to retrieve. (required)
|
|
1601
|
+
:type dimension_id: str
|
|
1602
|
+
:param var_with: The level of information to retrieve for the dimension. Valid values: - `basic`: Retrieves the dimension's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as levels and settings. This is the default.
|
|
1603
|
+
:type var_with: List[str]
|
|
1604
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1605
|
+
:type target_tenant_id: str
|
|
1606
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1607
|
+
:type project_id: str
|
|
1608
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1609
|
+
number provided, it will be total request
|
|
1610
|
+
timeout. It can also be a pair (tuple) of
|
|
1611
|
+
(connection, read) timeouts.
|
|
1612
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1613
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1614
|
+
request; this effectively ignores the
|
|
1615
|
+
authentication in the spec for a single request.
|
|
1616
|
+
:type _request_auth: dict, optional
|
|
1617
|
+
:param _content_type: force content-type for the request.
|
|
1618
|
+
:type _content_type: str, Optional
|
|
1619
|
+
:param _headers: set to override the headers for a single
|
|
1620
|
+
request; this effectively ignores the headers
|
|
1621
|
+
in the spec for a single request.
|
|
1622
|
+
:type _headers: dict, optional
|
|
1623
|
+
:param _host_index: set to override the host_index for a single
|
|
1624
|
+
request; this effectively ignores the host_index
|
|
1625
|
+
in the spec for a single request.
|
|
1626
|
+
:type _host_index: int, optional
|
|
1627
|
+
:return: Returns the result object.
|
|
1628
|
+
""" # noqa: E501
|
|
1629
|
+
|
|
1630
|
+
_param = self._get_one_dimension_serialize(
|
|
1631
|
+
dimension_id=dimension_id,
|
|
1632
|
+
var_with=var_with,
|
|
1633
|
+
target_tenant_id=target_tenant_id,
|
|
1634
|
+
project_id=project_id,
|
|
1635
|
+
_request_auth=_request_auth,
|
|
1636
|
+
_content_type=_content_type,
|
|
1637
|
+
_headers=_headers,
|
|
1638
|
+
_host_index=_host_index
|
|
1639
|
+
)
|
|
1640
|
+
|
|
1641
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1642
|
+
'200': "DimensionWithContextDTO",
|
|
1643
|
+
}
|
|
1644
|
+
response_data = self.api_client.call_api(
|
|
1645
|
+
*_param,
|
|
1646
|
+
_request_timeout=_request_timeout
|
|
1647
|
+
)
|
|
1648
|
+
return response_data.response
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
def _get_one_dimension_serialize(
|
|
1652
|
+
self,
|
|
1653
|
+
dimension_id,
|
|
1654
|
+
var_with,
|
|
1655
|
+
target_tenant_id,
|
|
1656
|
+
project_id,
|
|
1657
|
+
_request_auth,
|
|
1658
|
+
_content_type,
|
|
1659
|
+
_headers,
|
|
1660
|
+
_host_index,
|
|
1661
|
+
) -> RequestSerialized:
|
|
1662
|
+
|
|
1663
|
+
_host = None
|
|
1664
|
+
|
|
1665
|
+
_collection_formats: Dict[str, str] = {
|
|
1666
|
+
'with': 'multi',
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
_path_params: Dict[str, str] = {}
|
|
1670
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1671
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1672
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1673
|
+
_files: Dict[
|
|
1674
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1675
|
+
] = {}
|
|
1676
|
+
_body_params: Optional[bytes] = None
|
|
1677
|
+
|
|
1678
|
+
# process the path parameters
|
|
1679
|
+
if dimension_id is not None:
|
|
1680
|
+
_path_params['dimensionId'] = dimension_id
|
|
1681
|
+
# process the query parameters
|
|
1682
|
+
if var_with is not None:
|
|
1683
|
+
|
|
1684
|
+
_query_params.append(('with', var_with))
|
|
1685
|
+
|
|
1686
|
+
# process the header parameters
|
|
1687
|
+
if target_tenant_id is not None:
|
|
1688
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1689
|
+
if project_id is not None:
|
|
1690
|
+
_header_params['ProjectID'] = project_id
|
|
1691
|
+
# process the form parameters
|
|
1692
|
+
# process the body parameter
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
# set the HTTP header `Accept`
|
|
1696
|
+
if 'Accept' not in _header_params:
|
|
1697
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1698
|
+
[
|
|
1699
|
+
'application/json'
|
|
1700
|
+
]
|
|
1701
|
+
)
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
# authentication setting
|
|
1705
|
+
_auth_settings: List[str] = [
|
|
1706
|
+
'CookieAuth',
|
|
1707
|
+
'ApiKeyAuth',
|
|
1708
|
+
'OAuth2Auth',
|
|
1709
|
+
'OAuth2Auth',
|
|
1710
|
+
'BearerAuth'
|
|
1711
|
+
]
|
|
1712
|
+
|
|
1713
|
+
return self.api_client.param_serialize(
|
|
1714
|
+
method='GET',
|
|
1715
|
+
resource_path='/v2alpha/data/model/dimensions/{dimensionId}',
|
|
1716
|
+
path_params=_path_params,
|
|
1717
|
+
query_params=_query_params,
|
|
1718
|
+
header_params=_header_params,
|
|
1719
|
+
body=_body_params,
|
|
1720
|
+
post_params=_form_params,
|
|
1721
|
+
files=_files,
|
|
1722
|
+
auth_settings=_auth_settings,
|
|
1723
|
+
collection_formats=_collection_formats,
|
|
1724
|
+
_host=_host,
|
|
1725
|
+
_request_auth=_request_auth
|
|
1726
|
+
)
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
@validate_call
|
|
1732
|
+
def patch_dimensions(
|
|
1733
|
+
self,
|
|
1734
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
1735
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1736
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1737
|
+
_request_timeout: Union[
|
|
1738
|
+
None,
|
|
1739
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1740
|
+
Tuple[
|
|
1741
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1742
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1743
|
+
]
|
|
1744
|
+
] = None,
|
|
1745
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1746
|
+
_content_type: Optional[StrictStr] = None,
|
|
1747
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1748
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1749
|
+
) -> BulkChangeResponseDTO:
|
|
1750
|
+
"""Partially update dimensions
|
|
1751
|
+
|
|
1752
|
+
Make partial changes to existing dimensions. The response returns whether each dimension was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the dimension definition, use `PATCH` to change specific fields in the dimension without affecting omitted fields. To replace a dimension's entire definition, see the `PUT` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1753
|
+
|
|
1754
|
+
:param dimension_request_dto: (required)
|
|
1755
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
1756
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1757
|
+
:type target_tenant_id: str
|
|
1758
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1759
|
+
:type project_id: str
|
|
1760
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1761
|
+
number provided, it will be total request
|
|
1762
|
+
timeout. It can also be a pair (tuple) of
|
|
1763
|
+
(connection, read) timeouts.
|
|
1764
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1765
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1766
|
+
request; this effectively ignores the
|
|
1767
|
+
authentication in the spec for a single request.
|
|
1768
|
+
:type _request_auth: dict, optional
|
|
1769
|
+
:param _content_type: force content-type for the request.
|
|
1770
|
+
:type _content_type: str, Optional
|
|
1771
|
+
:param _headers: set to override the headers for a single
|
|
1772
|
+
request; this effectively ignores the headers
|
|
1773
|
+
in the spec for a single request.
|
|
1774
|
+
:type _headers: dict, optional
|
|
1775
|
+
:param _host_index: set to override the host_index for a single
|
|
1776
|
+
request; this effectively ignores the host_index
|
|
1777
|
+
in the spec for a single request.
|
|
1778
|
+
:type _host_index: int, optional
|
|
1779
|
+
:return: Returns the result object.
|
|
1780
|
+
""" # noqa: E501
|
|
1781
|
+
|
|
1782
|
+
_param = self._patch_dimensions_serialize(
|
|
1783
|
+
dimension_request_dto=dimension_request_dto,
|
|
1784
|
+
target_tenant_id=target_tenant_id,
|
|
1785
|
+
project_id=project_id,
|
|
1786
|
+
_request_auth=_request_auth,
|
|
1787
|
+
_content_type=_content_type,
|
|
1788
|
+
_headers=_headers,
|
|
1789
|
+
_host_index=_host_index
|
|
1790
|
+
)
|
|
1791
|
+
|
|
1792
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1793
|
+
'200': "BulkChangeResponseDTO",
|
|
1794
|
+
}
|
|
1795
|
+
response_data = self.api_client.call_api(
|
|
1796
|
+
*_param,
|
|
1797
|
+
_request_timeout=_request_timeout
|
|
1798
|
+
)
|
|
1799
|
+
response_data.read()
|
|
1800
|
+
return self.api_client.response_deserialize(
|
|
1801
|
+
response_data=response_data,
|
|
1802
|
+
response_types_map=_response_types_map,
|
|
1803
|
+
).data
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
@validate_call
|
|
1807
|
+
def patch_dimensions_with_http_info(
|
|
1808
|
+
self,
|
|
1809
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
1810
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1811
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1812
|
+
_request_timeout: Union[
|
|
1813
|
+
None,
|
|
1814
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1815
|
+
Tuple[
|
|
1816
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1817
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1818
|
+
]
|
|
1819
|
+
] = None,
|
|
1820
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1821
|
+
_content_type: Optional[StrictStr] = None,
|
|
1822
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1823
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1824
|
+
) -> ApiResponse[BulkChangeResponseDTO]:
|
|
1825
|
+
"""Partially update dimensions
|
|
1826
|
+
|
|
1827
|
+
Make partial changes to existing dimensions. The response returns whether each dimension was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the dimension definition, use `PATCH` to change specific fields in the dimension without affecting omitted fields. To replace a dimension's entire definition, see the `PUT` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1828
|
+
|
|
1829
|
+
:param dimension_request_dto: (required)
|
|
1830
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
1831
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1832
|
+
:type target_tenant_id: str
|
|
1833
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1834
|
+
:type project_id: str
|
|
1835
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1836
|
+
number provided, it will be total request
|
|
1837
|
+
timeout. It can also be a pair (tuple) of
|
|
1838
|
+
(connection, read) timeouts.
|
|
1839
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1840
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1841
|
+
request; this effectively ignores the
|
|
1842
|
+
authentication in the spec for a single request.
|
|
1843
|
+
:type _request_auth: dict, optional
|
|
1844
|
+
:param _content_type: force content-type for the request.
|
|
1845
|
+
:type _content_type: str, Optional
|
|
1846
|
+
:param _headers: set to override the headers for a single
|
|
1847
|
+
request; this effectively ignores the headers
|
|
1848
|
+
in the spec for a single request.
|
|
1849
|
+
:type _headers: dict, optional
|
|
1850
|
+
:param _host_index: set to override the host_index for a single
|
|
1851
|
+
request; this effectively ignores the host_index
|
|
1852
|
+
in the spec for a single request.
|
|
1853
|
+
:type _host_index: int, optional
|
|
1854
|
+
:return: Returns the result object.
|
|
1855
|
+
""" # noqa: E501
|
|
1856
|
+
|
|
1857
|
+
_param = self._patch_dimensions_serialize(
|
|
1858
|
+
dimension_request_dto=dimension_request_dto,
|
|
1859
|
+
target_tenant_id=target_tenant_id,
|
|
1860
|
+
project_id=project_id,
|
|
1861
|
+
_request_auth=_request_auth,
|
|
1862
|
+
_content_type=_content_type,
|
|
1863
|
+
_headers=_headers,
|
|
1864
|
+
_host_index=_host_index
|
|
1865
|
+
)
|
|
1866
|
+
|
|
1867
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1868
|
+
'200': "BulkChangeResponseDTO",
|
|
1869
|
+
}
|
|
1870
|
+
response_data = self.api_client.call_api(
|
|
1871
|
+
*_param,
|
|
1872
|
+
_request_timeout=_request_timeout
|
|
1873
|
+
)
|
|
1874
|
+
response_data.read()
|
|
1875
|
+
return self.api_client.response_deserialize(
|
|
1876
|
+
response_data=response_data,
|
|
1877
|
+
response_types_map=_response_types_map,
|
|
1878
|
+
)
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
@validate_call
|
|
1882
|
+
def patch_dimensions_without_preload_content(
|
|
1883
|
+
self,
|
|
1884
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
1885
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1886
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
1887
|
+
_request_timeout: Union[
|
|
1888
|
+
None,
|
|
1889
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1890
|
+
Tuple[
|
|
1891
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1892
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1893
|
+
]
|
|
1894
|
+
] = None,
|
|
1895
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1896
|
+
_content_type: Optional[StrictStr] = None,
|
|
1897
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1898
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1899
|
+
) -> RESTResponseType:
|
|
1900
|
+
"""Partially update dimensions
|
|
1901
|
+
|
|
1902
|
+
Make partial changes to existing dimensions. The response returns whether each dimension was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the dimension definition, use `PATCH` to change specific fields in the dimension without affecting omitted fields. To replace a dimension's entire definition, see the `PUT` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
1903
|
+
|
|
1904
|
+
:param dimension_request_dto: (required)
|
|
1905
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
1906
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1907
|
+
:type target_tenant_id: str
|
|
1908
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
1909
|
+
:type project_id: str
|
|
1910
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1911
|
+
number provided, it will be total request
|
|
1912
|
+
timeout. It can also be a pair (tuple) of
|
|
1913
|
+
(connection, read) timeouts.
|
|
1914
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1915
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1916
|
+
request; this effectively ignores the
|
|
1917
|
+
authentication in the spec for a single request.
|
|
1918
|
+
:type _request_auth: dict, optional
|
|
1919
|
+
:param _content_type: force content-type for the request.
|
|
1920
|
+
:type _content_type: str, Optional
|
|
1921
|
+
:param _headers: set to override the headers for a single
|
|
1922
|
+
request; this effectively ignores the headers
|
|
1923
|
+
in the spec for a single request.
|
|
1924
|
+
:type _headers: dict, optional
|
|
1925
|
+
:param _host_index: set to override the host_index for a single
|
|
1926
|
+
request; this effectively ignores the host_index
|
|
1927
|
+
in the spec for a single request.
|
|
1928
|
+
:type _host_index: int, optional
|
|
1929
|
+
:return: Returns the result object.
|
|
1930
|
+
""" # noqa: E501
|
|
1931
|
+
|
|
1932
|
+
_param = self._patch_dimensions_serialize(
|
|
1933
|
+
dimension_request_dto=dimension_request_dto,
|
|
1934
|
+
target_tenant_id=target_tenant_id,
|
|
1935
|
+
project_id=project_id,
|
|
1936
|
+
_request_auth=_request_auth,
|
|
1937
|
+
_content_type=_content_type,
|
|
1938
|
+
_headers=_headers,
|
|
1939
|
+
_host_index=_host_index
|
|
1940
|
+
)
|
|
1941
|
+
|
|
1942
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1943
|
+
'200': "BulkChangeResponseDTO",
|
|
1944
|
+
}
|
|
1945
|
+
response_data = self.api_client.call_api(
|
|
1946
|
+
*_param,
|
|
1947
|
+
_request_timeout=_request_timeout
|
|
1948
|
+
)
|
|
1949
|
+
return response_data.response
|
|
1950
|
+
|
|
1951
|
+
|
|
1952
|
+
def _patch_dimensions_serialize(
|
|
1953
|
+
self,
|
|
1954
|
+
dimension_request_dto,
|
|
1955
|
+
target_tenant_id,
|
|
1956
|
+
project_id,
|
|
1957
|
+
_request_auth,
|
|
1958
|
+
_content_type,
|
|
1959
|
+
_headers,
|
|
1960
|
+
_host_index,
|
|
1961
|
+
) -> RequestSerialized:
|
|
1962
|
+
|
|
1963
|
+
_host = None
|
|
1964
|
+
|
|
1965
|
+
_collection_formats: Dict[str, str] = {
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
_path_params: Dict[str, str] = {}
|
|
1969
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1970
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1971
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1972
|
+
_files: Dict[
|
|
1973
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1974
|
+
] = {}
|
|
1975
|
+
_body_params: Optional[bytes] = None
|
|
1976
|
+
|
|
1977
|
+
# process the path parameters
|
|
1978
|
+
# process the query parameters
|
|
1979
|
+
# process the header parameters
|
|
1980
|
+
if target_tenant_id is not None:
|
|
1981
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1982
|
+
if project_id is not None:
|
|
1983
|
+
_header_params['ProjectID'] = project_id
|
|
1984
|
+
# process the form parameters
|
|
1985
|
+
# process the body parameter
|
|
1986
|
+
if dimension_request_dto is not None:
|
|
1987
|
+
_body_params = dimension_request_dto
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
# set the HTTP header `Accept`
|
|
1991
|
+
if 'Accept' not in _header_params:
|
|
1992
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1993
|
+
[
|
|
1994
|
+
'application/json'
|
|
1995
|
+
]
|
|
1996
|
+
)
|
|
1997
|
+
|
|
1998
|
+
# set the HTTP header `Content-Type`
|
|
1999
|
+
if _content_type:
|
|
2000
|
+
_header_params['Content-Type'] = _content_type
|
|
2001
|
+
else:
|
|
2002
|
+
_default_content_type = (
|
|
2003
|
+
self.api_client.select_header_content_type(
|
|
2004
|
+
[
|
|
2005
|
+
'application/json'
|
|
2006
|
+
]
|
|
2007
|
+
)
|
|
2008
|
+
)
|
|
2009
|
+
if _default_content_type is not None:
|
|
2010
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2011
|
+
|
|
2012
|
+
# authentication setting
|
|
2013
|
+
_auth_settings: List[str] = [
|
|
2014
|
+
'CookieAuth',
|
|
2015
|
+
'ApiKeyAuth',
|
|
2016
|
+
'OAuth2Auth',
|
|
2017
|
+
'OAuth2Auth',
|
|
2018
|
+
'BearerAuth'
|
|
2019
|
+
]
|
|
2020
|
+
|
|
2021
|
+
return self.api_client.param_serialize(
|
|
2022
|
+
method='PATCH',
|
|
2023
|
+
resource_path='/v2alpha/data/model/dimensions',
|
|
2024
|
+
path_params=_path_params,
|
|
2025
|
+
query_params=_query_params,
|
|
2026
|
+
header_params=_header_params,
|
|
2027
|
+
body=_body_params,
|
|
2028
|
+
post_params=_form_params,
|
|
2029
|
+
files=_files,
|
|
2030
|
+
auth_settings=_auth_settings,
|
|
2031
|
+
collection_formats=_collection_formats,
|
|
2032
|
+
_host=_host,
|
|
2033
|
+
_request_auth=_request_auth
|
|
2034
|
+
)
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
@validate_call
|
|
2040
|
+
def put_dimensions(
|
|
2041
|
+
self,
|
|
2042
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
2043
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2044
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
2045
|
+
_request_timeout: Union[
|
|
2046
|
+
None,
|
|
2047
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2048
|
+
Tuple[
|
|
2049
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2050
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2051
|
+
]
|
|
2052
|
+
] = None,
|
|
2053
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2054
|
+
_content_type: Optional[StrictStr] = None,
|
|
2055
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2056
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2057
|
+
) -> BulkChangeResponseDTO:
|
|
2058
|
+
"""Update dimensions
|
|
2059
|
+
|
|
2060
|
+
Update existing dimensions. The response returns whether each dimension was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the dimension. To partially update a dimension, see the `PATCH` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
2061
|
+
|
|
2062
|
+
:param dimension_request_dto: (required)
|
|
2063
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
2064
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2065
|
+
:type target_tenant_id: str
|
|
2066
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
2067
|
+
:type project_id: str
|
|
2068
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2069
|
+
number provided, it will be total request
|
|
2070
|
+
timeout. It can also be a pair (tuple) of
|
|
2071
|
+
(connection, read) timeouts.
|
|
2072
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2073
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2074
|
+
request; this effectively ignores the
|
|
2075
|
+
authentication in the spec for a single request.
|
|
2076
|
+
:type _request_auth: dict, optional
|
|
2077
|
+
:param _content_type: force content-type for the request.
|
|
2078
|
+
:type _content_type: str, Optional
|
|
2079
|
+
:param _headers: set to override the headers for a single
|
|
2080
|
+
request; this effectively ignores the headers
|
|
2081
|
+
in the spec for a single request.
|
|
2082
|
+
:type _headers: dict, optional
|
|
2083
|
+
:param _host_index: set to override the host_index for a single
|
|
2084
|
+
request; this effectively ignores the host_index
|
|
2085
|
+
in the spec for a single request.
|
|
2086
|
+
:type _host_index: int, optional
|
|
2087
|
+
:return: Returns the result object.
|
|
2088
|
+
""" # noqa: E501
|
|
2089
|
+
|
|
2090
|
+
_param = self._put_dimensions_serialize(
|
|
2091
|
+
dimension_request_dto=dimension_request_dto,
|
|
2092
|
+
target_tenant_id=target_tenant_id,
|
|
2093
|
+
project_id=project_id,
|
|
2094
|
+
_request_auth=_request_auth,
|
|
2095
|
+
_content_type=_content_type,
|
|
2096
|
+
_headers=_headers,
|
|
2097
|
+
_host_index=_host_index
|
|
2098
|
+
)
|
|
2099
|
+
|
|
2100
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2101
|
+
'200': "BulkChangeResponseDTO",
|
|
2102
|
+
}
|
|
2103
|
+
response_data = self.api_client.call_api(
|
|
2104
|
+
*_param,
|
|
2105
|
+
_request_timeout=_request_timeout
|
|
2106
|
+
)
|
|
2107
|
+
response_data.read()
|
|
2108
|
+
return self.api_client.response_deserialize(
|
|
2109
|
+
response_data=response_data,
|
|
2110
|
+
response_types_map=_response_types_map,
|
|
2111
|
+
).data
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
@validate_call
|
|
2115
|
+
def put_dimensions_with_http_info(
|
|
2116
|
+
self,
|
|
2117
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
2118
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2119
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
2120
|
+
_request_timeout: Union[
|
|
2121
|
+
None,
|
|
2122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2123
|
+
Tuple[
|
|
2124
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2125
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2126
|
+
]
|
|
2127
|
+
] = None,
|
|
2128
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2129
|
+
_content_type: Optional[StrictStr] = None,
|
|
2130
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2131
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2132
|
+
) -> ApiResponse[BulkChangeResponseDTO]:
|
|
2133
|
+
"""Update dimensions
|
|
2134
|
+
|
|
2135
|
+
Update existing dimensions. The response returns whether each dimension was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the dimension. To partially update a dimension, see the `PATCH` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
2136
|
+
|
|
2137
|
+
:param dimension_request_dto: (required)
|
|
2138
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
2139
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2140
|
+
:type target_tenant_id: str
|
|
2141
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
2142
|
+
:type project_id: str
|
|
2143
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2144
|
+
number provided, it will be total request
|
|
2145
|
+
timeout. It can also be a pair (tuple) of
|
|
2146
|
+
(connection, read) timeouts.
|
|
2147
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2148
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2149
|
+
request; this effectively ignores the
|
|
2150
|
+
authentication in the spec for a single request.
|
|
2151
|
+
:type _request_auth: dict, optional
|
|
2152
|
+
:param _content_type: force content-type for the request.
|
|
2153
|
+
:type _content_type: str, Optional
|
|
2154
|
+
:param _headers: set to override the headers for a single
|
|
2155
|
+
request; this effectively ignores the headers
|
|
2156
|
+
in the spec for a single request.
|
|
2157
|
+
:type _headers: dict, optional
|
|
2158
|
+
:param _host_index: set to override the host_index for a single
|
|
2159
|
+
request; this effectively ignores the host_index
|
|
2160
|
+
in the spec for a single request.
|
|
2161
|
+
:type _host_index: int, optional
|
|
2162
|
+
:return: Returns the result object.
|
|
2163
|
+
""" # noqa: E501
|
|
2164
|
+
|
|
2165
|
+
_param = self._put_dimensions_serialize(
|
|
2166
|
+
dimension_request_dto=dimension_request_dto,
|
|
2167
|
+
target_tenant_id=target_tenant_id,
|
|
2168
|
+
project_id=project_id,
|
|
2169
|
+
_request_auth=_request_auth,
|
|
2170
|
+
_content_type=_content_type,
|
|
2171
|
+
_headers=_headers,
|
|
2172
|
+
_host_index=_host_index
|
|
2173
|
+
)
|
|
2174
|
+
|
|
2175
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2176
|
+
'200': "BulkChangeResponseDTO",
|
|
2177
|
+
}
|
|
2178
|
+
response_data = self.api_client.call_api(
|
|
2179
|
+
*_param,
|
|
2180
|
+
_request_timeout=_request_timeout
|
|
2181
|
+
)
|
|
2182
|
+
response_data.read()
|
|
2183
|
+
return self.api_client.response_deserialize(
|
|
2184
|
+
response_data=response_data,
|
|
2185
|
+
response_types_map=_response_types_map,
|
|
2186
|
+
)
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
@validate_call
|
|
2190
|
+
def put_dimensions_without_preload_content(
|
|
2191
|
+
self,
|
|
2192
|
+
dimension_request_dto: DimensionRequestDTO,
|
|
2193
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2194
|
+
project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None,
|
|
2195
|
+
_request_timeout: Union[
|
|
2196
|
+
None,
|
|
2197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2198
|
+
Tuple[
|
|
2199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2200
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2201
|
+
]
|
|
2202
|
+
] = None,
|
|
2203
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2204
|
+
_content_type: Optional[StrictStr] = None,
|
|
2205
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2206
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2207
|
+
) -> RESTResponseType:
|
|
2208
|
+
"""Update dimensions
|
|
2209
|
+
|
|
2210
|
+
Update existing dimensions. The response returns whether each dimension was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the dimension. To partially update a dimension, see the `PATCH` method. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
|
|
2211
|
+
|
|
2212
|
+
:param dimension_request_dto: (required)
|
|
2213
|
+
:type dimension_request_dto: DimensionRequestDTO
|
|
2214
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2215
|
+
:type target_tenant_id: str
|
|
2216
|
+
:param project_id: Optionally, specify a project in which to make the request.
|
|
2217
|
+
:type project_id: str
|
|
2218
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2219
|
+
number provided, it will be total request
|
|
2220
|
+
timeout. It can also be a pair (tuple) of
|
|
2221
|
+
(connection, read) timeouts.
|
|
2222
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2223
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2224
|
+
request; this effectively ignores the
|
|
2225
|
+
authentication in the spec for a single request.
|
|
2226
|
+
:type _request_auth: dict, optional
|
|
2227
|
+
:param _content_type: force content-type for the request.
|
|
2228
|
+
:type _content_type: str, Optional
|
|
2229
|
+
:param _headers: set to override the headers for a single
|
|
2230
|
+
request; this effectively ignores the headers
|
|
2231
|
+
in the spec for a single request.
|
|
2232
|
+
:type _headers: dict, optional
|
|
2233
|
+
:param _host_index: set to override the host_index for a single
|
|
2234
|
+
request; this effectively ignores the host_index
|
|
2235
|
+
in the spec for a single request.
|
|
2236
|
+
:type _host_index: int, optional
|
|
2237
|
+
:return: Returns the result object.
|
|
2238
|
+
""" # noqa: E501
|
|
2239
|
+
|
|
2240
|
+
_param = self._put_dimensions_serialize(
|
|
2241
|
+
dimension_request_dto=dimension_request_dto,
|
|
2242
|
+
target_tenant_id=target_tenant_id,
|
|
2243
|
+
project_id=project_id,
|
|
2244
|
+
_request_auth=_request_auth,
|
|
2245
|
+
_content_type=_content_type,
|
|
2246
|
+
_headers=_headers,
|
|
2247
|
+
_host_index=_host_index
|
|
2248
|
+
)
|
|
2249
|
+
|
|
2250
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2251
|
+
'200': "BulkChangeResponseDTO",
|
|
2252
|
+
}
|
|
2253
|
+
response_data = self.api_client.call_api(
|
|
2254
|
+
*_param,
|
|
2255
|
+
_request_timeout=_request_timeout
|
|
2256
|
+
)
|
|
2257
|
+
return response_data.response
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
def _put_dimensions_serialize(
|
|
2261
|
+
self,
|
|
2262
|
+
dimension_request_dto,
|
|
2263
|
+
target_tenant_id,
|
|
2264
|
+
project_id,
|
|
2265
|
+
_request_auth,
|
|
2266
|
+
_content_type,
|
|
2267
|
+
_headers,
|
|
2268
|
+
_host_index,
|
|
2269
|
+
) -> RequestSerialized:
|
|
2270
|
+
|
|
2271
|
+
_host = None
|
|
2272
|
+
|
|
2273
|
+
_collection_formats: Dict[str, str] = {
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
_path_params: Dict[str, str] = {}
|
|
2277
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2278
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2279
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2280
|
+
_files: Dict[
|
|
2281
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2282
|
+
] = {}
|
|
2283
|
+
_body_params: Optional[bytes] = None
|
|
2284
|
+
|
|
2285
|
+
# process the path parameters
|
|
2286
|
+
# process the query parameters
|
|
2287
|
+
# process the header parameters
|
|
2288
|
+
if target_tenant_id is not None:
|
|
2289
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
2290
|
+
if project_id is not None:
|
|
2291
|
+
_header_params['ProjectID'] = project_id
|
|
2292
|
+
# process the form parameters
|
|
2293
|
+
# process the body parameter
|
|
2294
|
+
if dimension_request_dto is not None:
|
|
2295
|
+
_body_params = dimension_request_dto
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
# set the HTTP header `Accept`
|
|
2299
|
+
if 'Accept' not in _header_params:
|
|
2300
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2301
|
+
[
|
|
2302
|
+
'application/json'
|
|
2303
|
+
]
|
|
2304
|
+
)
|
|
2305
|
+
|
|
2306
|
+
# set the HTTP header `Content-Type`
|
|
2307
|
+
if _content_type:
|
|
2308
|
+
_header_params['Content-Type'] = _content_type
|
|
2309
|
+
else:
|
|
2310
|
+
_default_content_type = (
|
|
2311
|
+
self.api_client.select_header_content_type(
|
|
2312
|
+
[
|
|
2313
|
+
'application/json'
|
|
2314
|
+
]
|
|
2315
|
+
)
|
|
2316
|
+
)
|
|
2317
|
+
if _default_content_type is not None:
|
|
2318
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2319
|
+
|
|
2320
|
+
# authentication setting
|
|
2321
|
+
_auth_settings: List[str] = [
|
|
2322
|
+
'CookieAuth',
|
|
2323
|
+
'ApiKeyAuth',
|
|
2324
|
+
'OAuth2Auth',
|
|
2325
|
+
'OAuth2Auth',
|
|
2326
|
+
'BearerAuth'
|
|
2327
|
+
]
|
|
2328
|
+
|
|
2329
|
+
return self.api_client.param_serialize(
|
|
2330
|
+
method='PUT',
|
|
2331
|
+
resource_path='/v2alpha/data/model/dimensions',
|
|
2332
|
+
path_params=_path_params,
|
|
2333
|
+
query_params=_query_params,
|
|
2334
|
+
header_params=_header_params,
|
|
2335
|
+
body=_body_params,
|
|
2336
|
+
post_params=_form_params,
|
|
2337
|
+
files=_files,
|
|
2338
|
+
auth_settings=_auth_settings,
|
|
2339
|
+
collection_formats=_collection_formats,
|
|
2340
|
+
_host=_host,
|
|
2341
|
+
_request_auth=_request_auth
|
|
2342
|
+
)
|
|
2343
|
+
|
|
2344
|
+
|